AWS SDK for C++

AWS SDK for C++ Version 1.11.930

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
62 inline bool GetRecursive() const { return m_recursive; }
63 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
64 inline void SetRecursive(bool value) {
65 m_recursiveHasBeenSet = true;
66 m_recursive = value;
67 }
69 SetRecursive(value);
70 return *this;
71 }
73
75
83 inline const Aws::Vector<ParameterStringFilter>& GetParameterFilters() const { return m_parameterFilters; }
84 inline bool ParameterFiltersHasBeenSet() const { return m_parameterFiltersHasBeenSet; }
85 template <typename ParameterFiltersT = Aws::Vector<ParameterStringFilter>>
86 void SetParameterFilters(ParameterFiltersT&& value) {
87 m_parameterFiltersHasBeenSet = true;
88 m_parameterFilters = std::forward<ParameterFiltersT>(value);
89 }
90 template <typename ParameterFiltersT = Aws::Vector<ParameterStringFilter>>
92 SetParameterFilters(std::forward<ParameterFiltersT>(value));
93 return *this;
94 }
95 template <typename ParameterFiltersT = ParameterStringFilter>
96 GetParametersByPathRequest& AddParameterFilters(ParameterFiltersT&& value) {
97 m_parameterFiltersHasBeenSet = true;
98 m_parameterFilters.emplace_back(std::forward<ParameterFiltersT>(value));
99 return *this;
100 }
102
104
107 inline bool GetWithDecryption() const { return m_withDecryption; }
108 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
109 inline void SetWithDecryption(bool value) {
110 m_withDecryptionHasBeenSet = true;
111 m_withDecryption = value;
112 }
114 SetWithDecryption(value);
115 return *this;
116 }
118
120
125 inline int GetMaxResults() const { return m_maxResults; }
126 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
127 inline void SetMaxResults(int value) {
128 m_maxResultsHasBeenSet = true;
129 m_maxResults = value;
130 }
132 SetMaxResults(value);
133 return *this;
134 }
136
138
142 inline const Aws::String& GetNextToken() const { return m_nextToken; }
143 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 template <typename NextTokenT = Aws::String>
145 void SetNextToken(NextTokenT&& value) {
146 m_nextTokenHasBeenSet = true;
147 m_nextToken = std::forward<NextTokenT>(value);
148 }
149 template <typename NextTokenT = Aws::String>
151 SetNextToken(std::forward<NextTokenT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_path;
157
158 bool m_recursive{false};
159
160 Aws::Vector<ParameterStringFilter> m_parameterFilters;
161
162 bool m_withDecryption{false};
163
164 int m_maxResults{0};
165
166 Aws::String m_nextToken;
167 bool m_pathHasBeenSet = false;
168 bool m_recursiveHasBeenSet = false;
169 bool m_parameterFiltersHasBeenSet = false;
170 bool m_withDecryptionHasBeenSet = false;
171 bool m_maxResultsHasBeenSet = false;
172 bool m_nextTokenHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace SSM
177} // 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