AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
DescribeAutomationStepExecutionsRequest.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/StepExecutionFilter.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 "DescribeAutomationStepExecutions"; }
33
34 AWS_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetAutomationExecutionId() const { return m_automationExecutionId; }
45 inline bool AutomationExecutionIdHasBeenSet() const { return m_automationExecutionIdHasBeenSet; }
46 template<typename AutomationExecutionIdT = Aws::String>
47 void SetAutomationExecutionId(AutomationExecutionIdT&& value) { m_automationExecutionIdHasBeenSet = true; m_automationExecutionId = std::forward<AutomationExecutionIdT>(value); }
48 template<typename AutomationExecutionIdT = Aws::String>
49 DescribeAutomationStepExecutionsRequest& WithAutomationExecutionId(AutomationExecutionIdT&& value) { SetAutomationExecutionId(std::forward<AutomationExecutionIdT>(value)); return *this;}
51
53
57 inline const Aws::Vector<StepExecutionFilter>& GetFilters() const { return m_filters; }
58 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
59 template<typename FiltersT = Aws::Vector<StepExecutionFilter>>
60 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
61 template<typename FiltersT = Aws::Vector<StepExecutionFilter>>
62 DescribeAutomationStepExecutionsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
63 template<typename FiltersT = StepExecutionFilter>
64 DescribeAutomationStepExecutionsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
66
68
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template<typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
76 template<typename NextTokenT = Aws::String>
77 DescribeAutomationStepExecutionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
79
81
86 inline int GetMaxResults() const { return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89 inline DescribeAutomationStepExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
91
93
97 inline bool GetReverseOrder() const { return m_reverseOrder; }
98 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
99 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
102 private:
103
104 Aws::String m_automationExecutionId;
105 bool m_automationExecutionIdHasBeenSet = false;
106
108 bool m_filtersHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112
113 int m_maxResults{0};
114 bool m_maxResultsHasBeenSet = false;
115
116 bool m_reverseOrder{false};
117 bool m_reverseOrderHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace SSM
122} // 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