AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeAutomationExecutionsRequest.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/AutomationExecutionFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SSM {
17namespace Model {
18
22 public:
23 AWS_SSM_API DescribeAutomationExecutionsRequest() = default;
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 "DescribeAutomationExecutions"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::Vector<AutomationExecutionFilter>& GetFilters() const { return m_filters; }
40 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
41 template <typename FiltersT = Aws::Vector<AutomationExecutionFilter>>
42 void SetFilters(FiltersT&& value) {
43 m_filtersHasBeenSet = true;
44 m_filters = std::forward<FiltersT>(value);
45 }
46 template <typename FiltersT = Aws::Vector<AutomationExecutionFilter>>
48 SetFilters(std::forward<FiltersT>(value));
49 return *this;
50 }
51 template <typename FiltersT = AutomationExecutionFilter>
53 m_filtersHasBeenSet = true;
54 m_filters.emplace_back(std::forward<FiltersT>(value));
55 return *this;
56 }
58
60
65 inline int GetMaxResults() const { return m_maxResults; }
66 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
67 inline void SetMaxResults(int value) {
68 m_maxResultsHasBeenSet = true;
69 m_maxResults = value;
70 }
72 SetMaxResults(value);
73 return *this;
74 }
76
78
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template <typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) {
86 m_nextTokenHasBeenSet = true;
87 m_nextToken = std::forward<NextTokenT>(value);
88 }
89 template <typename NextTokenT = Aws::String>
91 SetNextToken(std::forward<NextTokenT>(value));
92 return *this;
93 }
95 private:
97
98 int m_maxResults{0};
99
100 Aws::String m_nextToken;
101 bool m_filtersHasBeenSet = false;
102 bool m_maxResultsHasBeenSet = false;
103 bool m_nextTokenHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SSM
108} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAutomationExecutionsRequest & WithMaxResults(int value)
DescribeAutomationExecutionsRequest & WithNextToken(NextTokenT &&value)
DescribeAutomationExecutionsRequest & WithFilters(FiltersT &&value)
const Aws::Vector< AutomationExecutionFilter > & GetFilters() const
DescribeAutomationExecutionsRequest & AddFilters(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