AWS SDK for C++  1.9.123
AWS SDK for C++
CreateAuditSuppressionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace IoT
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateAuditSuppression"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
38 
39  inline const Aws::String& GetCheckName() const{ return m_checkName; }
40 
41 
42  inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
43 
44 
45  inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
46 
47 
48  inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
49 
50 
51  inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
52 
53 
54  inline CreateAuditSuppressionRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
55 
56 
57  inline CreateAuditSuppressionRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
58 
59 
60  inline CreateAuditSuppressionRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
61 
62 
63 
64  inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
65 
66 
67  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
68 
69 
70  inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
71 
72 
73  inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
74 
75 
76  inline CreateAuditSuppressionRequest& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;}
77 
78 
79  inline CreateAuditSuppressionRequest& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
80 
81 
85  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
86 
90  inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
91 
95  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
96 
100  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
101 
105  inline CreateAuditSuppressionRequest& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
106 
110  inline CreateAuditSuppressionRequest& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
111 
112 
116  inline bool GetSuppressIndefinitely() const{ return m_suppressIndefinitely; }
117 
121  inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
122 
126  inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
127 
131  inline CreateAuditSuppressionRequest& WithSuppressIndefinitely(bool value) { SetSuppressIndefinitely(value); return *this;}
132 
133 
137  inline const Aws::String& GetDescription() const{ return m_description; }
138 
142  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 
147  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
148 
152  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
153 
157  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
158 
162  inline CreateAuditSuppressionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
163 
167  inline CreateAuditSuppressionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
168 
172  inline CreateAuditSuppressionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
173 
174 
181  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
182 
189  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
190 
197  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
198 
205  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
206 
213  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
214 
221  inline CreateAuditSuppressionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
222 
229  inline CreateAuditSuppressionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
230 
237  inline CreateAuditSuppressionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
238 
239  private:
240 
241  Aws::String m_checkName;
242  bool m_checkNameHasBeenSet;
243 
244  ResourceIdentifier m_resourceIdentifier;
245  bool m_resourceIdentifierHasBeenSet;
246 
247  Aws::Utils::DateTime m_expirationDate;
248  bool m_expirationDateHasBeenSet;
249 
250  bool m_suppressIndefinitely;
251  bool m_suppressIndefinitelyHasBeenSet;
252 
253  Aws::String m_description;
254  bool m_descriptionHasBeenSet;
255 
256  Aws::String m_clientRequestToken;
257  bool m_clientRequestTokenHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace IoT
262 } // namespace Aws
Aws::IoT::Model::CreateAuditSuppressionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateAuditSuppressionRequest.h:213
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::CreateAuditSuppressionRequest::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: CreateAuditSuppressionRequest.h:100
Aws::IoT::Model::CreateAuditSuppressionRequest::ExpirationDateHasBeenSet
bool ExpirationDateHasBeenSet() const
Definition: CreateAuditSuppressionRequest.h:90
Aws::IoT::Model::CreateAuditSuppressionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateAuditSuppressionRequest.h:147
Aws::IoT::Model::CreateAuditSuppressionRequest::GetSuppressIndefinitely
bool GetSuppressIndefinitely() const
Definition: CreateAuditSuppressionRequest.h:116
Aws::IoT::Model::CreateAuditSuppressionRequest::GetCheckName
const Aws::String & GetCheckName() const
Definition: CreateAuditSuppressionRequest.h:39
Aws::IoT::Model::CreateAuditSuppressionRequest::SetCheckName
void SetCheckName(Aws::String &&value)
Definition: CreateAuditSuppressionRequest.h:48
Aws::IoT::Model::CreateAuditSuppressionRequest::CheckNameHasBeenSet
bool CheckNameHasBeenSet() const
Definition: CreateAuditSuppressionRequest.h:42
Aws::IoT::Model::CreateAuditSuppressionRequest::WithCheckName
CreateAuditSuppressionRequest & WithCheckName(Aws::String &&value)
Definition: CreateAuditSuppressionRequest.h:57
Aws::IoT::Model::CreateAuditSuppressionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateAuditSuppressionRequest.h:181
Aws::IoT::Model::CreateAuditSuppressionRequest::WithDescription
CreateAuditSuppressionRequest & WithDescription(const Aws::String &value)
Definition: CreateAuditSuppressionRequest.h:162
DateTime.h
Aws::IoT::Model::CreateAuditSuppressionRequest::WithDescription
CreateAuditSuppressionRequest & WithDescription(const char *value)
Definition: CreateAuditSuppressionRequest.h:172
Aws::IoT::Model::CreateAuditSuppressionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateAuditSuppressionRequest.h:142
Aws::IoT::Model::CreateAuditSuppressionRequest::SetResourceIdentifier
void SetResourceIdentifier(const ResourceIdentifier &value)
Definition: CreateAuditSuppressionRequest.h:70
Aws::IoT::Model::CreateAuditSuppressionRequest::WithClientRequestToken
CreateAuditSuppressionRequest & WithClientRequestToken(const char *value)
Definition: CreateAuditSuppressionRequest.h:237
Aws::IoT::Model::ResourceIdentifier
Definition: ResourceIdentifier.h:34
Aws::IoT::Model::CreateAuditSuppressionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::CreateAuditSuppressionRequest::WithCheckName
CreateAuditSuppressionRequest & WithCheckName(const Aws::String &value)
Definition: CreateAuditSuppressionRequest.h:54
Aws::IoT::Model::CreateAuditSuppressionRequest::WithExpirationDate
CreateAuditSuppressionRequest & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: CreateAuditSuppressionRequest.h:110
Aws::IoT::Model::CreateAuditSuppressionRequest::CreateAuditSuppressionRequest
CreateAuditSuppressionRequest()
Aws::IoT::Model::CreateAuditSuppressionRequest::WithSuppressIndefinitely
CreateAuditSuppressionRequest & WithSuppressIndefinitely(bool value)
Definition: CreateAuditSuppressionRequest.h:131
Aws::IoT::Model::CreateAuditSuppressionRequest::WithCheckName
CreateAuditSuppressionRequest & WithCheckName(const char *value)
Definition: CreateAuditSuppressionRequest.h:60
Aws::IoT::Model::CreateAuditSuppressionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateAuditSuppressionRequest.h:152
Aws::IoT::Model::CreateAuditSuppressionRequest::WithClientRequestToken
CreateAuditSuppressionRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateAuditSuppressionRequest.h:221
Aws::IoT::Model::CreateAuditSuppressionRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: CreateAuditSuppressionRequest.h:67
Aws::IoT::Model::CreateAuditSuppressionRequest::WithExpirationDate
CreateAuditSuppressionRequest & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: CreateAuditSuppressionRequest.h:105
Aws::IoT::Model::CreateAuditSuppressionRequest::WithClientRequestToken
CreateAuditSuppressionRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateAuditSuppressionRequest.h:229
Aws::IoT::Model::CreateAuditSuppressionRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateAuditSuppressionRequest.h:157
Aws::IoT::Model::CreateAuditSuppressionRequest
Definition: CreateAuditSuppressionRequest.h:25
Aws::IoT::Model::CreateAuditSuppressionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateAuditSuppressionRequest.h:137
Aws::IoT::Model::CreateAuditSuppressionRequest::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: CreateAuditSuppressionRequest.h:85
Aws::IoT::Model::CreateAuditSuppressionRequest::SuppressIndefinitelyHasBeenSet
bool SuppressIndefinitelyHasBeenSet() const
Definition: CreateAuditSuppressionRequest.h:121
Aws::IoT::Model::CreateAuditSuppressionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateAuditSuppressionRequest.h:33
AWSString.h
Aws::IoT::Model::CreateAuditSuppressionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateAuditSuppressionRequest.h:197
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::CreateAuditSuppressionRequest::SetCheckName
void SetCheckName(const Aws::String &value)
Definition: CreateAuditSuppressionRequest.h:45
Aws::IoT::Model::CreateAuditSuppressionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateAuditSuppressionRequest.h:205
ResourceIdentifier.h
Aws::IoT::Model::CreateAuditSuppressionRequest::SetCheckName
void SetCheckName(const char *value)
Definition: CreateAuditSuppressionRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateAuditSuppressionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateAuditSuppressionRequest.h:189
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateAuditSuppressionRequest::SetResourceIdentifier
void SetResourceIdentifier(ResourceIdentifier &&value)
Definition: CreateAuditSuppressionRequest.h:73
Aws::IoT::Model::CreateAuditSuppressionRequest::GetResourceIdentifier
const ResourceIdentifier & GetResourceIdentifier() const
Definition: CreateAuditSuppressionRequest.h:64
Aws::IoT::Model::CreateAuditSuppressionRequest::WithResourceIdentifier
CreateAuditSuppressionRequest & WithResourceIdentifier(const ResourceIdentifier &value)
Definition: CreateAuditSuppressionRequest.h:76
Aws::IoT::Model::CreateAuditSuppressionRequest::WithDescription
CreateAuditSuppressionRequest & WithDescription(Aws::String &&value)
Definition: CreateAuditSuppressionRequest.h:167
IoTRequest.h
Aws::IoT::Model::CreateAuditSuppressionRequest::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: CreateAuditSuppressionRequest.h:95
UUID.h
Aws::IoT::Model::CreateAuditSuppressionRequest::SetSuppressIndefinitely
void SetSuppressIndefinitely(bool value)
Definition: CreateAuditSuppressionRequest.h:126
Aws::IoT::Model::CreateAuditSuppressionRequest::WithResourceIdentifier
CreateAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifier &&value)
Definition: CreateAuditSuppressionRequest.h:79
IoT_EXPORTS.h