AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeAutomationStepExecutionsRequest.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/StepExecutionFilter.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 "DescribeAutomationStepExecutions"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetAutomationExecutionId() const { return m_automationExecutionId; }
41 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
42 template <typename AutomationExecutionIdT = Aws::String>
43 void SetAutomationExecutionId(AutomationExecutionIdT&& value) {
44 m_automationExecutionIdHasBeenSet = true;
45 m_automationExecutionId = std::forward<AutomationExecutionIdT>(value);
46 }
47 template <typename AutomationExecutionIdT = Aws::String>
49 SetAutomationExecutionId(std::forward<AutomationExecutionIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Vector<StepExecutionFilter>& GetFilters() const { return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 template <typename FiltersT = Aws::Vector<StepExecutionFilter>>
62 void SetFilters(FiltersT&& value) {
63 m_filtersHasBeenSet = true;
64 m_filters = std::forward<FiltersT>(value);
65 }
66 template <typename FiltersT = Aws::Vector<StepExecutionFilter>>
68 SetFilters(std::forward<FiltersT>(value));
69 return *this;
70 }
71 template <typename FiltersT = StepExecutionFilter>
73 m_filtersHasBeenSet = true;
74 m_filters.emplace_back(std::forward<FiltersT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template <typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) {
88 m_nextTokenHasBeenSet = true;
89 m_nextToken = std::forward<NextTokenT>(value);
90 }
91 template <typename NextTokenT = Aws::String>
93 SetNextToken(std::forward<NextTokenT>(value));
94 return *this;
95 }
97
99
104 inline int GetMaxResults() const { return m_maxResults; }
105 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
106 inline void SetMaxResults(int value) {
107 m_maxResultsHasBeenSet = true;
108 m_maxResults = value;
109 }
111 SetMaxResults(value);
112 return *this;
113 }
115
117
121 inline bool GetReverseOrder() const { return m_reverseOrder; }
122 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
123 inline void SetReverseOrder(bool value) {
124 m_reverseOrderHasBeenSet = true;
125 m_reverseOrder = value;
126 }
128 SetReverseOrder(value);
129 return *this;
130 }
132 private:
133 Aws::String m_automationExecutionId;
134
136
137 Aws::String m_nextToken;
138
139 int m_maxResults{0};
140
141 bool m_reverseOrder{false};
142 bool m_automationExecutionIdHasBeenSet = false;
143 bool m_filtersHasBeenSet = false;
144 bool m_nextTokenHasBeenSet = false;
145 bool m_maxResultsHasBeenSet = false;
146 bool m_reverseOrderHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace SSM
151} // namespace Aws
DescribeAutomationStepExecutionsRequest & WithAutomationExecutionId(AutomationExecutionIdT &&value)
DescribeAutomationStepExecutionsRequest & WithNextToken(NextTokenT &&value)
DescribeAutomationStepExecutionsRequest & WithFilters(FiltersT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
DescribeAutomationStepExecutionsRequest & AddFilters(FiltersT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAutomationStepExecutionsRequest & WithMaxResults(int value)
DescribeAutomationStepExecutionsRequest & WithReverseOrder(bool 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