AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeAssociationExecutionTargetsRequest.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/AssociationExecutionTargetsFilter.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 "DescribeAssociationExecutionTargets"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetAssociationId() const { return m_associationId; }
41 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
42 template <typename AssociationIdT = Aws::String>
43 void SetAssociationId(AssociationIdT&& value) {
44 m_associationIdHasBeenSet = true;
45 m_associationId = std::forward<AssociationIdT>(value);
46 }
47 template <typename AssociationIdT = Aws::String>
49 SetAssociationId(std::forward<AssociationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExecutionId() const { return m_executionId; }
59 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
60 template <typename ExecutionIdT = Aws::String>
61 void SetExecutionId(ExecutionIdT&& value) {
62 m_executionIdHasBeenSet = true;
63 m_executionId = std::forward<ExecutionIdT>(value);
64 }
65 template <typename ExecutionIdT = Aws::String>
67 SetExecutionId(std::forward<ExecutionIdT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::Vector<AssociationExecutionTargetsFilter>& GetFilters() const { return m_filters; }
79 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
80 template <typename FiltersT = Aws::Vector<AssociationExecutionTargetsFilter>>
81 void SetFilters(FiltersT&& value) {
82 m_filtersHasBeenSet = true;
83 m_filters = std::forward<FiltersT>(value);
84 }
85 template <typename FiltersT = Aws::Vector<AssociationExecutionTargetsFilter>>
87 SetFilters(std::forward<FiltersT>(value));
88 return *this;
89 }
90 template <typename FiltersT = AssociationExecutionTargetsFilter>
92 m_filtersHasBeenSet = true;
93 m_filters.emplace_back(std::forward<FiltersT>(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 const Aws::String& GetNextToken() const { return m_nextToken; }
122 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
123 template <typename NextTokenT = Aws::String>
124 void SetNextToken(NextTokenT&& value) {
125 m_nextTokenHasBeenSet = true;
126 m_nextToken = std::forward<NextTokenT>(value);
127 }
128 template <typename NextTokenT = Aws::String>
130 SetNextToken(std::forward<NextTokenT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_associationId;
136
137 Aws::String m_executionId;
138
140
141 int m_maxResults{0};
142
143 Aws::String m_nextToken;
144 bool m_associationIdHasBeenSet = false;
145 bool m_executionIdHasBeenSet = false;
146 bool m_filtersHasBeenSet = false;
147 bool m_maxResultsHasBeenSet = false;
148 bool m_nextTokenHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace SSM
153} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
DescribeAssociationExecutionTargetsRequest & AddFilters(FiltersT &&value)
DescribeAssociationExecutionTargetsRequest & WithExecutionId(ExecutionIdT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAssociationExecutionTargetsRequest & WithAssociationId(AssociationIdT &&value)
DescribeAssociationExecutionTargetsRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< AssociationExecutionTargetsFilter > & GetFilters() const
DescribeAssociationExecutionTargetsRequest & 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