AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeMaintenanceWindowExecutionTasksRequest.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 "DescribeMaintenanceWindowExecutionTasks"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
44 
49  inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
50 
55  inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
56 
61  inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
62 
67  inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
68 
73  inline DescribeMaintenanceWindowExecutionTasksRequest& WithWindowExecutionId(const Aws::String& value) { SetWindowExecutionId(value); return *this;}
74 
79  inline DescribeMaintenanceWindowExecutionTasksRequest& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;}
80 
85  inline DescribeMaintenanceWindowExecutionTasksRequest& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
86 
87 
94  inline const Aws::Vector<MaintenanceWindowFilter>& GetFilters() const{ return m_filters; }
95 
102  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
103 
110  inline void SetFilters(const Aws::Vector<MaintenanceWindowFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
111 
118  inline void SetFilters(Aws::Vector<MaintenanceWindowFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
119 
127 
134  inline DescribeMaintenanceWindowExecutionTasksRequest& WithFilters(Aws::Vector<MaintenanceWindowFilter>&& value) { SetFilters(std::move(value)); return *this;}
135 
142  inline DescribeMaintenanceWindowExecutionTasksRequest& AddFilters(const MaintenanceWindowFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
143 
150  inline DescribeMaintenanceWindowExecutionTasksRequest& AddFilters(MaintenanceWindowFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
151 
152 
158  inline int GetMaxResults() const{ return m_maxResults; }
159 
165  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
166 
172  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
173 
179  inline DescribeMaintenanceWindowExecutionTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
180 
181 
186  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
187 
192  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
193 
198  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
199 
204  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
205 
210  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
211 
216  inline DescribeMaintenanceWindowExecutionTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
217 
222  inline DescribeMaintenanceWindowExecutionTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
223 
228  inline DescribeMaintenanceWindowExecutionTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
229 
230  private:
231 
232  Aws::String m_windowExecutionId;
233  bool m_windowExecutionIdHasBeenSet;
234 
236  bool m_filtersHasBeenSet;
237 
238  int m_maxResults;
239  bool m_maxResultsHasBeenSet;
240 
241  Aws::String m_nextToken;
242  bool m_nextTokenHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace SSM
247 } // namespace Aws
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithNextToken
DescribeMaintenanceWindowExecutionTasksRequest & WithNextToken(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:216
Aws::SSM::Model::MaintenanceWindowFilter
Definition: MaintenanceWindowFilter.h:41
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithWindowExecutionId
DescribeMaintenanceWindowExecutionTasksRequest & WithWindowExecutionId(const char *value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:85
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::AddFilters
DescribeMaintenanceWindowExecutionTasksRequest & AddFilters(MaintenanceWindowFilter &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:150
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:24
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::GetWindowExecutionId
const Aws::String & GetWindowExecutionId() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:43
AWSVector.h
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithNextToken
DescribeMaintenanceWindowExecutionTasksRequest & WithNextToken(const char *value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:228
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithFilters
DescribeMaintenanceWindowExecutionTasksRequest & WithFilters(const Aws::Vector< MaintenanceWindowFilter > &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:126
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:172
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetFilters
void SetFilters(const Aws::Vector< MaintenanceWindowFilter > &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:110
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithWindowExecutionId
DescribeMaintenanceWindowExecutionTasksRequest & WithWindowExecutionId(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:73
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::AddFilters
DescribeMaintenanceWindowExecutionTasksRequest & AddFilters(const MaintenanceWindowFilter &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:142
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::DescribeMaintenanceWindowExecutionTasksRequest
DescribeMaintenanceWindowExecutionTasksRequest()
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:186
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetWindowExecutionId
void SetWindowExecutionId(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:61
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WindowExecutionIdHasBeenSet
bool WindowExecutionIdHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:49
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:198
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetWindowExecutionId
void SetWindowExecutionId(const Aws::String &value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:55
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:102
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:192
MaintenanceWindowFilter.h
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithWindowExecutionId
DescribeMaintenanceWindowExecutionTasksRequest & WithWindowExecutionId(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:79
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithFilters
DescribeMaintenanceWindowExecutionTasksRequest & WithFilters(Aws::Vector< MaintenanceWindowFilter > &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:134
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:158
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:204
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithMaxResults
DescribeMaintenanceWindowExecutionTasksRequest & WithMaxResults(int value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::WithNextToken
DescribeMaintenanceWindowExecutionTasksRequest & WithNextToken(Aws::String &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:222
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetFilters
void SetFilters(Aws::Vector< MaintenanceWindowFilter > &&value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:118
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:165
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:210
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::SetWindowExecutionId
void SetWindowExecutionId(const char *value)
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:67
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::GetFilters
const Aws::Vector< MaintenanceWindowFilter > & GetFilters() const
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:94
Aws::SSM::Model::DescribeMaintenanceWindowExecutionTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeMaintenanceWindowExecutionTasksRequest.h:32
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
SSMRequest.h