AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.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 "DescribeMaintenanceWindowExecutionTaskInvocations"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
43 
47  inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
48 
52  inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
53 
57  inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
58 
62  inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
63 
67  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithWindowExecutionId(const Aws::String& value) { SetWindowExecutionId(value); return *this;}
68 
72  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;}
73 
77  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
78 
79 
84  inline const Aws::String& GetTaskId() const{ return m_taskId; }
85 
90  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
91 
96  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
97 
102  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
103 
108  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
109 
114  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
115 
120  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
121 
126  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
127 
128 
134  inline const Aws::Vector<MaintenanceWindowFilter>& GetFilters() const{ return m_filters; }
135 
141  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
142 
148  inline void SetFilters(const Aws::Vector<MaintenanceWindowFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
149 
155  inline void SetFilters(Aws::Vector<MaintenanceWindowFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
156 
163 
170 
176  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& AddFilters(const MaintenanceWindowFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
177 
183  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& AddFilters(MaintenanceWindowFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
184 
185 
191  inline int GetMaxResults() const{ return m_maxResults; }
192 
198  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
199 
205  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
206 
212  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
213 
214 
219  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
220 
225  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
226 
231  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
232 
237  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
238 
243  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
244 
249  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
250 
255  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
256 
261  inline DescribeMaintenanceWindowExecutionTaskInvocationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
262 
263  private:
264 
265  Aws::String m_windowExecutionId;
266  bool m_windowExecutionIdHasBeenSet;
267 
268  Aws::String m_taskId;
269  bool m_taskIdHasBeenSet;
270 
272  bool m_filtersHasBeenSet;
273 
274  int m_maxResults;
275  bool m_maxResultsHasBeenSet;
276 
277  Aws::String m_nextToken;
278  bool m_nextTokenHasBeenSet;
279  };
280 
281 } // namespace Model
282 } // namespace SSM
283 } // namespace Aws
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WindowExecutionIdHasBeenSet
bool WindowExecutionIdHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:47
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetWindowExecutionId
void SetWindowExecutionId(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:52
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:243
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithTaskId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithTaskId(const char *value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:126
Aws::SSM::Model::MaintenanceWindowFilter
Definition: MaintenanceWindowFilter.h:34
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetTaskId
void SetTaskId(const char *value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:108
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:219
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithWindowExecutionId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithWindowExecutionId(const char *value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:77
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:191
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithWindowExecutionId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithWindowExecutionId(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:72
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:102
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetWindowExecutionId
void SetWindowExecutionId(const char *value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:62
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::AddFilters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & AddFilters(MaintenanceWindowFilter &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:183
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetWindowExecutionId
const Aws::String & GetWindowExecutionId() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:42
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithFilters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithFilters(Aws::Vector< MaintenanceWindowFilter > &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:169
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetWindowExecutionId
void SetWindowExecutionId(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:57
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:205
AWSVector.h
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetFilters
void SetFilters(Aws::Vector< MaintenanceWindowFilter > &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:155
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:32
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:84
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithMaxResults
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithMaxResults(int value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:212
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithNextToken
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:249
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:225
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::DescribeMaintenanceWindowExecutionTaskInvocationsRequest
DescribeMaintenanceWindowExecutionTaskInvocationsRequest()
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::GetFilters
const Aws::Vector< MaintenanceWindowFilter > & GetFilters() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:134
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:237
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetFilters
void SetFilters(const Aws::Vector< MaintenanceWindowFilter > &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:148
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
MaintenanceWindowFilter.h
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithTaskId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithTaskId(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:114
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:96
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithNextToken
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithNextToken(const char *value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:261
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:90
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithWindowExecutionId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithWindowExecutionId(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:67
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::AddFilters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & AddFilters(const MaintenanceWindowFilter &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:176
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:141
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithFilters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithFilters(const Aws::Vector< MaintenanceWindowFilter > &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:162
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:231
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:198
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithTaskId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithTaskId(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:120
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:24
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTaskInvocationsRequest::WithNextToken
DescribeMaintenanceWindowExecutionTaskInvocationsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTaskInvocationsRequest.h:255
SSMRequest.h