AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeMaintenanceWindowExecutionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSMRequest.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/MaintenanceWindowFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SSM {
17namespace Model {
18
22 public:
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeMaintenanceWindowExecutions"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetWindowId() const { return m_windowId; }
40 inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; }
41 template <typename WindowIdT = Aws::String>
42 void SetWindowId(WindowIdT&& value) {
43 m_windowIdHasBeenSet = true;
44 m_windowId = std::forward<WindowIdT>(value);
45 }
46 template <typename WindowIdT = Aws::String>
48 SetWindowId(std::forward<WindowIdT>(value));
49 return *this;
50 }
52
54
62 inline const Aws::Vector<MaintenanceWindowFilter>& GetFilters() const { return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 template <typename FiltersT = Aws::Vector<MaintenanceWindowFilter>>
65 void SetFilters(FiltersT&& value) {
66 m_filtersHasBeenSet = true;
67 m_filters = std::forward<FiltersT>(value);
68 }
69 template <typename FiltersT = Aws::Vector<MaintenanceWindowFilter>>
71 SetFilters(std::forward<FiltersT>(value));
72 return *this;
73 }
74 template <typename FiltersT = MaintenanceWindowFilter>
76 m_filtersHasBeenSet = true;
77 m_filters.emplace_back(std::forward<FiltersT>(value));
78 return *this;
79 }
81
83
88 inline int GetMaxResults() const { return m_maxResults; }
89 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
90 inline void SetMaxResults(int value) {
91 m_maxResultsHasBeenSet = true;
92 m_maxResults = value;
93 }
95 SetMaxResults(value);
96 return *this;
97 }
99
101
105 inline const Aws::String& GetNextToken() const { return m_nextToken; }
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 template <typename NextTokenT = Aws::String>
108 void SetNextToken(NextTokenT&& value) {
109 m_nextTokenHasBeenSet = true;
110 m_nextToken = std::forward<NextTokenT>(value);
111 }
112 template <typename NextTokenT = Aws::String>
114 SetNextToken(std::forward<NextTokenT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_windowId;
120
122
123 int m_maxResults{0};
124
125 Aws::String m_nextToken;
126 bool m_windowIdHasBeenSet = false;
127 bool m_filtersHasBeenSet = false;
128 bool m_maxResultsHasBeenSet = false;
129 bool m_nextTokenHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace SSM
134} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeMaintenanceWindowExecutionsRequest & AddFilters(FiltersT &&value)
DescribeMaintenanceWindowExecutionsRequest & WithWindowId(WindowIdT &&value)
DescribeMaintenanceWindowExecutionsRequest & WithNextToken(NextTokenT &&value)
DescribeMaintenanceWindowExecutionsRequest & WithFilters(FiltersT &&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