AWS SDK for C++  1.9.125
AWS SDK for C++
UpdateAuditSuppressionRequest.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 
14 namespace Aws
15 {
16 namespace IoT
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateAuditSuppression"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
37 
38  inline const Aws::String& GetCheckName() const{ return m_checkName; }
39 
40 
41  inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
42 
43 
44  inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
45 
46 
47  inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
48 
49 
50  inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
51 
52 
53  inline UpdateAuditSuppressionRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
54 
55 
56  inline UpdateAuditSuppressionRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
57 
58 
59  inline UpdateAuditSuppressionRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
60 
61 
62 
63  inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
64 
65 
66  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
67 
68 
69  inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
70 
71 
72  inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
73 
74 
75  inline UpdateAuditSuppressionRequest& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;}
76 
77 
78  inline UpdateAuditSuppressionRequest& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
79 
80 
85  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
86 
91  inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
92 
97  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
98 
103  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
104 
109  inline UpdateAuditSuppressionRequest& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
110 
115  inline UpdateAuditSuppressionRequest& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
116 
117 
121  inline bool GetSuppressIndefinitely() const{ return m_suppressIndefinitely; }
122 
126  inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
127 
131  inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
132 
136  inline UpdateAuditSuppressionRequest& WithSuppressIndefinitely(bool value) { SetSuppressIndefinitely(value); return *this;}
137 
138 
142  inline const Aws::String& GetDescription() const{ return m_description; }
143 
147  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 
152  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
153 
157  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
158 
162  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
163 
167  inline UpdateAuditSuppressionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
168 
172  inline UpdateAuditSuppressionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
173 
177  inline UpdateAuditSuppressionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
178 
179  private:
180 
181  Aws::String m_checkName;
182  bool m_checkNameHasBeenSet;
183 
184  ResourceIdentifier m_resourceIdentifier;
185  bool m_resourceIdentifierHasBeenSet;
186 
187  Aws::Utils::DateTime m_expirationDate;
188  bool m_expirationDateHasBeenSet;
189 
190  bool m_suppressIndefinitely;
191  bool m_suppressIndefinitelyHasBeenSet;
192 
193  Aws::String m_description;
194  bool m_descriptionHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace IoT
199 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::UpdateAuditSuppressionRequest
Definition: UpdateAuditSuppressionRequest.h:24
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithCheckName
UpdateAuditSuppressionRequest & WithCheckName(const Aws::String &value)
Definition: UpdateAuditSuppressionRequest.h:53
Aws::IoT::Model::UpdateAuditSuppressionRequest::UpdateAuditSuppressionRequest
UpdateAuditSuppressionRequest()
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateAuditSuppressionRequest.h:157
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithResourceIdentifier
UpdateAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifier &&value)
Definition: UpdateAuditSuppressionRequest.h:78
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithDescription
UpdateAuditSuppressionRequest & WithDescription(Aws::String &&value)
Definition: UpdateAuditSuppressionRequest.h:172
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetSuppressIndefinitely
void SetSuppressIndefinitely(bool value)
Definition: UpdateAuditSuppressionRequest.h:131
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithDescription
UpdateAuditSuppressionRequest & WithDescription(const Aws::String &value)
Definition: UpdateAuditSuppressionRequest.h:167
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetCheckName
void SetCheckName(const Aws::String &value)
Definition: UpdateAuditSuppressionRequest.h:44
DateTime.h
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: UpdateAuditSuppressionRequest.h:103
Aws::IoT::Model::UpdateAuditSuppressionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithExpirationDate
UpdateAuditSuppressionRequest & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: UpdateAuditSuppressionRequest.h:115
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetCheckName
void SetCheckName(Aws::String &&value)
Definition: UpdateAuditSuppressionRequest.h:47
Aws::IoT::Model::ResourceIdentifier
Definition: ResourceIdentifier.h:34
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetResourceIdentifier
void SetResourceIdentifier(const ResourceIdentifier &value)
Definition: UpdateAuditSuppressionRequest.h:69
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithExpirationDate
UpdateAuditSuppressionRequest & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: UpdateAuditSuppressionRequest.h:109
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: UpdateAuditSuppressionRequest.h:97
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithDescription
UpdateAuditSuppressionRequest & WithDescription(const char *value)
Definition: UpdateAuditSuppressionRequest.h:177
Aws::IoT::Model::UpdateAuditSuppressionRequest::GetSuppressIndefinitely
bool GetSuppressIndefinitely() const
Definition: UpdateAuditSuppressionRequest.h:121
Aws::IoT::Model::UpdateAuditSuppressionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateAuditSuppressionRequest.h:147
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateAuditSuppressionRequest.h:152
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateAuditSuppressionRequest.h:162
Aws::IoT::Model::UpdateAuditSuppressionRequest::CheckNameHasBeenSet
bool CheckNameHasBeenSet() const
Definition: UpdateAuditSuppressionRequest.h:41
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithResourceIdentifier
UpdateAuditSuppressionRequest & WithResourceIdentifier(const ResourceIdentifier &value)
Definition: UpdateAuditSuppressionRequest.h:75
Aws::IoT::Model::UpdateAuditSuppressionRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: UpdateAuditSuppressionRequest.h:66
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithCheckName
UpdateAuditSuppressionRequest & WithCheckName(Aws::String &&value)
Definition: UpdateAuditSuppressionRequest.h:56
AWSString.h
Aws::IoT::Model::UpdateAuditSuppressionRequest::SuppressIndefinitelyHasBeenSet
bool SuppressIndefinitelyHasBeenSet() const
Definition: UpdateAuditSuppressionRequest.h:126
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithCheckName
UpdateAuditSuppressionRequest & WithCheckName(const char *value)
Definition: UpdateAuditSuppressionRequest.h:59
Aws::IoT::Model::UpdateAuditSuppressionRequest::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: UpdateAuditSuppressionRequest.h:85
ResourceIdentifier.h
Aws::IoT::Model::UpdateAuditSuppressionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAuditSuppressionRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateAuditSuppressionRequest::GetCheckName
const Aws::String & GetCheckName() const
Definition: UpdateAuditSuppressionRequest.h:38
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetCheckName
void SetCheckName(const char *value)
Definition: UpdateAuditSuppressionRequest.h:50
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::UpdateAuditSuppressionRequest::GetResourceIdentifier
const ResourceIdentifier & GetResourceIdentifier() const
Definition: UpdateAuditSuppressionRequest.h:63
Aws::IoT::Model::UpdateAuditSuppressionRequest::WithSuppressIndefinitely
UpdateAuditSuppressionRequest & WithSuppressIndefinitely(bool value)
Definition: UpdateAuditSuppressionRequest.h:136
Aws::IoT::Model::UpdateAuditSuppressionRequest::ExpirationDateHasBeenSet
bool ExpirationDateHasBeenSet() const
Definition: UpdateAuditSuppressionRequest.h:91
Aws::IoT::Model::UpdateAuditSuppressionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateAuditSuppressionRequest.h:142
IoTRequest.h
Aws::IoT::Model::UpdateAuditSuppressionRequest::SetResourceIdentifier
void SetResourceIdentifier(ResourceIdentifier &&value)
Definition: UpdateAuditSuppressionRequest.h:72
IoT_EXPORTS.h