AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMaintenanceWindowExecutionTasksRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/MaintenanceWindowFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSM
17{
18namespace 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_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
45 inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
46 inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
47 inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
48 inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
53
55
61 inline const Aws::Vector<MaintenanceWindowFilter>& GetFilters() const{ return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 inline void SetFilters(const Aws::Vector<MaintenanceWindowFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
64 inline void SetFilters(Aws::Vector<MaintenanceWindowFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline DescribeMaintenanceWindowExecutionTasksRequest& AddFilters(const MaintenanceWindowFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
68 inline DescribeMaintenanceWindowExecutionTasksRequest& AddFilters(MaintenanceWindowFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
70
72
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82
84
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
94 inline DescribeMaintenanceWindowExecutionTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline DescribeMaintenanceWindowExecutionTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97 private:
98
99 Aws::String m_windowExecutionId;
100 bool m_windowExecutionIdHasBeenSet = false;
101
103 bool m_filtersHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SSM
114} // namespace Aws
DescribeMaintenanceWindowExecutionTasksRequest & WithNextToken(const char *value)
DescribeMaintenanceWindowExecutionTasksRequest & WithFilters(Aws::Vector< MaintenanceWindowFilter > &&value)
DescribeMaintenanceWindowExecutionTasksRequest & AddFilters(const MaintenanceWindowFilter &value)
DescribeMaintenanceWindowExecutionTasksRequest & WithWindowExecutionId(Aws::String &&value)
DescribeMaintenanceWindowExecutionTasksRequest & WithNextToken(const Aws::String &value)
DescribeMaintenanceWindowExecutionTasksRequest & WithFilters(const Aws::Vector< MaintenanceWindowFilter > &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeMaintenanceWindowExecutionTasksRequest & WithWindowExecutionId(const Aws::String &value)
AWS_SSM_API Aws::String SerializePayload() const override
DescribeMaintenanceWindowExecutionTasksRequest & WithWindowExecutionId(const char *value)
DescribeMaintenanceWindowExecutionTasksRequest & WithNextToken(Aws::String &&value)
DescribeMaintenanceWindowExecutionTasksRequest & AddFilters(MaintenanceWindowFilter &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector