AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
UpdateAuditSuppressionRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/ResourceIdentifier.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoT {
17namespace Model {
18
22 public:
23 AWS_IOT_API UpdateAuditSuppressionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAuditSuppression"; }
30
31 AWS_IOT_API Aws::String SerializePayload() const override;
32
34
35 inline const Aws::String& GetCheckName() const { return m_checkName; }
36 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
37 template <typename CheckNameT = Aws::String>
38 void SetCheckName(CheckNameT&& value) {
39 m_checkNameHasBeenSet = true;
40 m_checkName = std::forward<CheckNameT>(value);
41 }
42 template <typename CheckNameT = Aws::String>
44 SetCheckName(std::forward<CheckNameT>(value));
45 return *this;
46 }
48
50
51 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
52 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
53 template <typename ResourceIdentifierT = ResourceIdentifier>
54 void SetResourceIdentifier(ResourceIdentifierT&& value) {
55 m_resourceIdentifierHasBeenSet = true;
56 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
57 }
58 template <typename ResourceIdentifierT = ResourceIdentifier>
60 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
71 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
72 template <typename ExpirationDateT = Aws::Utils::DateTime>
73 void SetExpirationDate(ExpirationDateT&& value) {
74 m_expirationDateHasBeenSet = true;
75 m_expirationDate = std::forward<ExpirationDateT>(value);
76 }
77 template <typename ExpirationDateT = Aws::Utils::DateTime>
79 SetExpirationDate(std::forward<ExpirationDateT>(value));
80 return *this;
81 }
83
85
88 inline bool GetSuppressIndefinitely() const { return m_suppressIndefinitely; }
89 inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
90 inline void SetSuppressIndefinitely(bool value) {
91 m_suppressIndefinitelyHasBeenSet = true;
92 m_suppressIndefinitely = value;
93 }
96 return *this;
97 }
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_checkName;
119 bool m_checkNameHasBeenSet = false;
120
121 ResourceIdentifier m_resourceIdentifier;
122 bool m_resourceIdentifierHasBeenSet = false;
123
124 Aws::Utils::DateTime m_expirationDate{};
125 bool m_expirationDateHasBeenSet = false;
126
127 bool m_suppressIndefinitely{false};
128 bool m_suppressIndefinitelyHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace IoT
136} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateAuditSuppressionRequest & WithDescription(DescriptionT &&value)
UpdateAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAuditSuppressionRequest & WithSuppressIndefinitely(bool value)
UpdateAuditSuppressionRequest & WithCheckName(CheckNameT &&value)
UpdateAuditSuppressionRequest & WithExpirationDate(ExpirationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String