AWS SDK for C++  1.9.132
AWS SDK for C++
ListAuditSuppressionsRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoT
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListAuditSuppressions"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
36 
37  inline const Aws::String& GetCheckName() const{ return m_checkName; }
38 
39 
40  inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
41 
42 
43  inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
44 
45 
46  inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
47 
48 
49  inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
50 
51 
52  inline ListAuditSuppressionsRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
53 
54 
55  inline ListAuditSuppressionsRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
56 
57 
58  inline ListAuditSuppressionsRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
59 
60 
61 
62  inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
63 
64 
65  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
66 
67 
68  inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
69 
70 
71  inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
72 
73 
74  inline ListAuditSuppressionsRequest& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;}
75 
76 
77  inline ListAuditSuppressionsRequest& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
78 
79 
84  inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
85 
90  inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
91 
96  inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
97 
102  inline ListAuditSuppressionsRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
103 
104 
108  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 
113  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 
118  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
119 
123  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
124 
128  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
129 
133  inline ListAuditSuppressionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
134 
138  inline ListAuditSuppressionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
139 
143  inline ListAuditSuppressionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
144 
145 
149  inline int GetMaxResults() const{ return m_maxResults; }
150 
154  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
155 
159  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
160 
164  inline ListAuditSuppressionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
165 
166  private:
167 
168  Aws::String m_checkName;
169  bool m_checkNameHasBeenSet;
170 
171  ResourceIdentifier m_resourceIdentifier;
172  bool m_resourceIdentifierHasBeenSet;
173 
174  bool m_ascendingOrder;
175  bool m_ascendingOrderHasBeenSet;
176 
177  Aws::String m_nextToken;
178  bool m_nextTokenHasBeenSet;
179 
180  int m_maxResults;
181  bool m_maxResultsHasBeenSet;
182  };
183 
184 } // namespace Model
185 } // namespace IoT
186 } // namespace Aws
Aws::IoT::Model::ListAuditSuppressionsRequest::SetCheckName
void SetCheckName(Aws::String &&value)
Definition: ListAuditSuppressionsRequest.h:46
Aws::IoT::Model::ListAuditSuppressionsRequest::ListAuditSuppressionsRequest
ListAuditSuppressionsRequest()
Aws::IoT::Model::ListAuditSuppressionsRequest::WithNextToken
ListAuditSuppressionsRequest & WithNextToken(const Aws::String &value)
Definition: ListAuditSuppressionsRequest.h:133
Aws::IoT::Model::ListAuditSuppressionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAuditSuppressionsRequest.h:128
Aws::IoT::Model::ListAuditSuppressionsRequest::WithNextToken
ListAuditSuppressionsRequest & WithNextToken(const char *value)
Definition: ListAuditSuppressionsRequest.h:143
Aws::IoT::Model::ListAuditSuppressionsRequest::SetResourceIdentifier
void SetResourceIdentifier(const ResourceIdentifier &value)
Definition: ListAuditSuppressionsRequest.h:68
Aws::IoT::Model::ListAuditSuppressionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListAuditSuppressionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAuditSuppressionsRequest.h:149
Aws::IoT::Model::ListAuditSuppressionsRequest::AscendingOrderHasBeenSet
bool AscendingOrderHasBeenSet() const
Definition: ListAuditSuppressionsRequest.h:90
Aws::IoT::Model::ListAuditSuppressionsRequest::GetResourceIdentifier
const ResourceIdentifier & GetResourceIdentifier() const
Definition: ListAuditSuppressionsRequest.h:62
Aws::IoT::Model::ListAuditSuppressionsRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: ListAuditSuppressionsRequest.h:65
Aws::IoT::Model::ResourceIdentifier
Definition: ResourceIdentifier.h:34
Aws::IoT::Model::ListAuditSuppressionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAuditSuppressionsRequest.h:123
Aws::IoT::Model::ListAuditSuppressionsRequest::WithResourceIdentifier
ListAuditSuppressionsRequest & WithResourceIdentifier(const ResourceIdentifier &value)
Definition: ListAuditSuppressionsRequest.h:74
Aws::IoT::Model::ListAuditSuppressionsRequest::SetResourceIdentifier
void SetResourceIdentifier(ResourceIdentifier &&value)
Definition: ListAuditSuppressionsRequest.h:71
Aws::IoT::Model::ListAuditSuppressionsRequest
Definition: ListAuditSuppressionsRequest.h:23
Aws::IoT::Model::ListAuditSuppressionsRequest::WithCheckName
ListAuditSuppressionsRequest & WithCheckName(Aws::String &&value)
Definition: ListAuditSuppressionsRequest.h:55
Aws::IoT::Model::ListAuditSuppressionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAuditSuppressionsRequest.h:113
Aws::IoT::Model::ListAuditSuppressionsRequest::WithAscendingOrder
ListAuditSuppressionsRequest & WithAscendingOrder(bool value)
Definition: ListAuditSuppressionsRequest.h:102
Aws::IoT::Model::ListAuditSuppressionsRequest::CheckNameHasBeenSet
bool CheckNameHasBeenSet() const
Definition: ListAuditSuppressionsRequest.h:40
Aws::IoT::Model::ListAuditSuppressionsRequest::WithCheckName
ListAuditSuppressionsRequest & WithCheckName(const char *value)
Definition: ListAuditSuppressionsRequest.h:58
Aws::IoT::Model::ListAuditSuppressionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAuditSuppressionsRequest.h:118
Aws::IoT::Model::ListAuditSuppressionsRequest::GetCheckName
const Aws::String & GetCheckName() const
Definition: ListAuditSuppressionsRequest.h:37
Aws::IoT::Model::ListAuditSuppressionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAuditSuppressionsRequest.h:154
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListAuditSuppressionsRequest::WithCheckName
ListAuditSuppressionsRequest & WithCheckName(const Aws::String &value)
Definition: ListAuditSuppressionsRequest.h:52
Aws::IoT::Model::ListAuditSuppressionsRequest::SetCheckName
void SetCheckName(const char *value)
Definition: ListAuditSuppressionsRequest.h:49
Aws::IoT::Model::ListAuditSuppressionsRequest::WithNextToken
ListAuditSuppressionsRequest & WithNextToken(Aws::String &&value)
Definition: ListAuditSuppressionsRequest.h:138
ResourceIdentifier.h
Aws::IoT::Model::ListAuditSuppressionsRequest::SetCheckName
void SetCheckName(const Aws::String &value)
Definition: ListAuditSuppressionsRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListAuditSuppressionsRequest::WithResourceIdentifier
ListAuditSuppressionsRequest & WithResourceIdentifier(ResourceIdentifier &&value)
Definition: ListAuditSuppressionsRequest.h:77
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::ListAuditSuppressionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAuditSuppressionsRequest.h:31
IoTRequest.h
Aws::IoT::Model::ListAuditSuppressionsRequest::SetAscendingOrder
void SetAscendingOrder(bool value)
Definition: ListAuditSuppressionsRequest.h:96
Aws::IoT::Model::ListAuditSuppressionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAuditSuppressionsRequest.h:108
Aws::IoT::Model::ListAuditSuppressionsRequest::GetAscendingOrder
bool GetAscendingOrder() const
Definition: ListAuditSuppressionsRequest.h:84
IoT_EXPORTS.h
Aws::IoT::Model::ListAuditSuppressionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAuditSuppressionsRequest.h:159
Aws::IoT::Model::ListAuditSuppressionsRequest::WithMaxResults
ListAuditSuppressionsRequest & WithMaxResults(int value)
Definition: ListAuditSuppressionsRequest.h:164