AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetParametersByPathRequest.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/ParameterStringFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SSM {
17namespace Model {
18
22 public:
23 AWS_SSM_API GetParametersByPathRequest() = 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 "GetParametersByPath"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
44 inline const Aws::String& GetPath() const { return m_path; }
45 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
46 template <typename PathT = Aws::String>
47 void SetPath(PathT&& value) {
48 m_pathHasBeenSet = true;
49 m_path = std::forward<PathT>(value);
50 }
51 template <typename PathT = Aws::String>
53 SetPath(std::forward<PathT>(value));
54 return *this;
55 }
57
59
68 inline bool GetRecursive() const { return m_recursive; }
69 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
70 inline void SetRecursive(bool value) {
71 m_recursiveHasBeenSet = true;
72 m_recursive = value;
73 }
75 SetRecursive(value);
76 return *this;
77 }
79
81
89 inline const Aws::Vector<ParameterStringFilter>& GetParameterFilters() const { return m_parameterFilters; }
90 inline bool ParameterFiltersHasBeenSet() const { return m_parameterFiltersHasBeenSet; }
91 template <typename ParameterFiltersT = Aws::Vector<ParameterStringFilter>>
92 void SetParameterFilters(ParameterFiltersT&& value) {
93 m_parameterFiltersHasBeenSet = true;
94 m_parameterFilters = std::forward<ParameterFiltersT>(value);
95 }
96 template <typename ParameterFiltersT = Aws::Vector<ParameterStringFilter>>
98 SetParameterFilters(std::forward<ParameterFiltersT>(value));
99 return *this;
100 }
101 template <typename ParameterFiltersT = ParameterStringFilter>
103 m_parameterFiltersHasBeenSet = true;
104 m_parameterFilters.emplace_back(std::forward<ParameterFiltersT>(value));
105 return *this;
106 }
108
110
113 inline bool GetWithDecryption() const { return m_withDecryption; }
114 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
115 inline void SetWithDecryption(bool value) {
116 m_withDecryptionHasBeenSet = true;
117 m_withDecryption = value;
118 }
120 SetWithDecryption(value);
121 return *this;
122 }
124
126
131 inline int GetMaxResults() const { return m_maxResults; }
132 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
133 inline void SetMaxResults(int value) {
134 m_maxResultsHasBeenSet = true;
135 m_maxResults = value;
136 }
138 SetMaxResults(value);
139 return *this;
140 }
142
144
148 inline const Aws::String& GetNextToken() const { return m_nextToken; }
149 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
150 template <typename NextTokenT = Aws::String>
151 void SetNextToken(NextTokenT&& value) {
152 m_nextTokenHasBeenSet = true;
153 m_nextToken = std::forward<NextTokenT>(value);
154 }
155 template <typename NextTokenT = Aws::String>
157 SetNextToken(std::forward<NextTokenT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_path;
163
164 bool m_recursive{false};
165
166 Aws::Vector<ParameterStringFilter> m_parameterFilters;
167
168 bool m_withDecryption{false};
169
170 int m_maxResults{0};
171
172 Aws::String m_nextToken;
173 bool m_pathHasBeenSet = false;
174 bool m_recursiveHasBeenSet = false;
175 bool m_parameterFiltersHasBeenSet = false;
176 bool m_withDecryptionHasBeenSet = false;
177 bool m_maxResultsHasBeenSet = false;
178 bool m_nextTokenHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace SSM
183} // namespace Aws
AWS_SSM_API GetParametersByPathRequest()=default
GetParametersByPathRequest & WithWithDecryption(bool value)
GetParametersByPathRequest & WithMaxResults(int value)
GetParametersByPathRequest & WithParameterFilters(ParameterFiltersT &&value)
const Aws::Vector< ParameterStringFilter > & GetParameterFilters() const
AWS_SSM_API Aws::String SerializePayload() const override
GetParametersByPathRequest & AddParameterFilters(ParameterFiltersT &&value)
virtual const char * GetServiceRequestName() const override
GetParametersByPathRequest & WithPath(PathT &&value)
GetParametersByPathRequest & WithNextToken(NextTokenT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetParametersByPathRequest & WithRecursive(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