AWS SDK for C++

AWS SDK for C++ Version 1.11.553

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
GetParametersByPathRequest.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/ParameterStringFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSM
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSM_API GetParametersByPathRequest() = default;
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 "GetParametersByPath"; }
33
34 AWS_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
48 inline const Aws::String& GetPath() const { return m_path; }
49 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
50 template<typename PathT = Aws::String>
51 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
52 template<typename PathT = Aws::String>
53 GetParametersByPathRequest& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
55
57
66 inline bool GetRecursive() const { return m_recursive; }
67 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
68 inline void SetRecursive(bool value) { m_recursiveHasBeenSet = true; m_recursive = value; }
69 inline GetParametersByPathRequest& WithRecursive(bool value) { SetRecursive(value); return *this;}
71
73
81 inline const Aws::Vector<ParameterStringFilter>& GetParameterFilters() const { return m_parameterFilters; }
82 inline bool ParameterFiltersHasBeenSet() const { return m_parameterFiltersHasBeenSet; }
83 template<typename ParameterFiltersT = Aws::Vector<ParameterStringFilter>>
84 void SetParameterFilters(ParameterFiltersT&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = std::forward<ParameterFiltersT>(value); }
85 template<typename ParameterFiltersT = Aws::Vector<ParameterStringFilter>>
86 GetParametersByPathRequest& WithParameterFilters(ParameterFiltersT&& value) { SetParameterFilters(std::forward<ParameterFiltersT>(value)); return *this;}
87 template<typename ParameterFiltersT = ParameterStringFilter>
88 GetParametersByPathRequest& AddParameterFilters(ParameterFiltersT&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.emplace_back(std::forward<ParameterFiltersT>(value)); return *this; }
90
92
95 inline bool GetWithDecryption() const { return m_withDecryption; }
96 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
97 inline void SetWithDecryption(bool value) { m_withDecryptionHasBeenSet = true; m_withDecryption = value; }
98 inline GetParametersByPathRequest& WithWithDecryption(bool value) { SetWithDecryption(value); return *this;}
100
102
107 inline int GetMaxResults() const { return m_maxResults; }
108 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
109 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
110 inline GetParametersByPathRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
112
114
118 inline const Aws::String& GetNextToken() const { return m_nextToken; }
119 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
120 template<typename NextTokenT = Aws::String>
121 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
122 template<typename NextTokenT = Aws::String>
123 GetParametersByPathRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
125 private:
126
127 Aws::String m_path;
128 bool m_pathHasBeenSet = false;
129
130 bool m_recursive{false};
131 bool m_recursiveHasBeenSet = false;
132
133 Aws::Vector<ParameterStringFilter> m_parameterFilters;
134 bool m_parameterFiltersHasBeenSet = false;
135
136 bool m_withDecryption{false};
137 bool m_withDecryptionHasBeenSet = false;
138
139 int m_maxResults{0};
140 bool m_maxResultsHasBeenSet = false;
141
142 Aws::String m_nextToken;
143 bool m_nextTokenHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SSM
148} // 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