AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeAssociationExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
8 #include <aws/ssm/SSMRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SSM
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 "DescribeAssociationExecutions"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
43 
47  inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
48 
52  inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
53 
57  inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
58 
62  inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
63 
67  inline DescribeAssociationExecutionsRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
68 
72  inline DescribeAssociationExecutionsRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
73 
77  inline DescribeAssociationExecutionsRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
78 
79 
85  inline const Aws::Vector<AssociationExecutionFilter>& GetFilters() const{ return m_filters; }
86 
92  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
93 
99  inline void SetFilters(const Aws::Vector<AssociationExecutionFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
100 
106  inline void SetFilters(Aws::Vector<AssociationExecutionFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
107 
113  inline DescribeAssociationExecutionsRequest& WithFilters(const Aws::Vector<AssociationExecutionFilter>& value) { SetFilters(value); return *this;}
114 
120  inline DescribeAssociationExecutionsRequest& WithFilters(Aws::Vector<AssociationExecutionFilter>&& value) { SetFilters(std::move(value)); return *this;}
121 
127  inline DescribeAssociationExecutionsRequest& AddFilters(const AssociationExecutionFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
128 
134  inline DescribeAssociationExecutionsRequest& AddFilters(AssociationExecutionFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
135 
136 
142  inline int GetMaxResults() const{ return m_maxResults; }
143 
149  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
150 
156  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
157 
163  inline DescribeAssociationExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
164 
165 
170  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
171 
176  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
177 
182  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
183 
188  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
189 
194  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
195 
200  inline DescribeAssociationExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
201 
206  inline DescribeAssociationExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
207 
212  inline DescribeAssociationExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
213 
214  private:
215 
216  Aws::String m_associationId;
217  bool m_associationIdHasBeenSet;
218 
220  bool m_filtersHasBeenSet;
221 
222  int m_maxResults;
223  bool m_maxResultsHasBeenSet;
224 
225  Aws::String m_nextToken;
226  bool m_nextTokenHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace SSM
231 } // namespace Aws
Aws::SSM::Model::DescribeAssociationExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeAssociationExecutionsRequest.h:170
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeAssociationExecutionsRequest.h:188
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithMaxResults
DescribeAssociationExecutionsRequest & WithMaxResults(int value)
Definition: DescribeAssociationExecutionsRequest.h:163
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::DescribeAssociationExecutionsRequest
Definition: DescribeAssociationExecutionsRequest.h:24
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DescribeAssociationExecutionsRequest::AddFilters
DescribeAssociationExecutionsRequest & AddFilters(AssociationExecutionFilter &&value)
Definition: DescribeAssociationExecutionsRequest.h:134
Aws::SSM::Model::DescribeAssociationExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeAssociationExecutionsRequest.h:149
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetFilters
void SetFilters(const Aws::Vector< AssociationExecutionFilter > &value)
Definition: DescribeAssociationExecutionsRequest.h:99
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetAssociationId
void SetAssociationId(const char *value)
Definition: DescribeAssociationExecutionsRequest.h:62
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetFilters
void SetFilters(Aws::Vector< AssociationExecutionFilter > &&value)
Definition: DescribeAssociationExecutionsRequest.h:106
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithAssociationId
DescribeAssociationExecutionsRequest & WithAssociationId(Aws::String &&value)
Definition: DescribeAssociationExecutionsRequest.h:72
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: DescribeAssociationExecutionsRequest.h:52
Aws::SSM::Model::DescribeAssociationExecutionsRequest::AddFilters
DescribeAssociationExecutionsRequest & AddFilters(const AssociationExecutionFilter &value)
Definition: DescribeAssociationExecutionsRequest.h:127
AWSVector.h
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeAssociationExecutionsRequest.h:194
Aws::SSM::Model::DescribeAssociationExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAssociationExecutionsRequest.h:32
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithAssociationId
DescribeAssociationExecutionsRequest & WithAssociationId(const Aws::String &value)
Definition: DescribeAssociationExecutionsRequest.h:67
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeAssociationExecutionsRequest.h:156
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: DescribeAssociationExecutionsRequest.h:57
Aws::SSM::Model::DescribeAssociationExecutionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeAssociationExecutionsRequest.h:92
Aws::SSM::Model::DescribeAssociationExecutionsRequest::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: DescribeAssociationExecutionsRequest.h:47
Aws::SSM::Model::DescribeAssociationExecutionsRequest::GetFilters
const Aws::Vector< AssociationExecutionFilter > & GetFilters() const
Definition: DescribeAssociationExecutionsRequest.h:85
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithFilters
DescribeAssociationExecutionsRequest & WithFilters(Aws::Vector< AssociationExecutionFilter > &&value)
Definition: DescribeAssociationExecutionsRequest.h:120
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithFilters
DescribeAssociationExecutionsRequest & WithFilters(const Aws::Vector< AssociationExecutionFilter > &value)
Definition: DescribeAssociationExecutionsRequest.h:113
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithAssociationId
DescribeAssociationExecutionsRequest & WithAssociationId(const char *value)
Definition: DescribeAssociationExecutionsRequest.h:77
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::DescribeAssociationExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeAssociationExecutionsRequest.h:182
Aws::SSM::Model::DescribeAssociationExecutionsRequest::DescribeAssociationExecutionsRequest
DescribeAssociationExecutionsRequest()
Aws::SSM::Model::AssociationExecutionFilter
Definition: AssociationExecutionFilter.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DescribeAssociationExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeAssociationExecutionsRequest.h:176
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithNextToken
DescribeAssociationExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeAssociationExecutionsRequest.h:206
AssociationExecutionFilter.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithNextToken
DescribeAssociationExecutionsRequest & WithNextToken(const char *value)
Definition: DescribeAssociationExecutionsRequest.h:212
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::DescribeAssociationExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeAssociationExecutionsRequest.h:142
Aws::SSM::Model::DescribeAssociationExecutionsRequest::WithNextToken
DescribeAssociationExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeAssociationExecutionsRequest.h:200
Aws::SSM::Model::DescribeAssociationExecutionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::DescribeAssociationExecutionsRequest::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: DescribeAssociationExecutionsRequest.h:42
SSMRequest.h