AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
51 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
52 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
53 inline GetParametersByPathRequest& WithPath(const Aws::String& value) { SetPath(value); return *this;}
54 inline GetParametersByPathRequest& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
55 inline GetParametersByPathRequest& WithPath(const char* value) { SetPath(value); return *this;}
57
59
68 inline bool GetRecursive() const{ return m_recursive; }
69 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
70 inline void SetRecursive(bool value) { m_recursiveHasBeenSet = true; m_recursive = value; }
71 inline GetParametersByPathRequest& WithRecursive(bool value) { SetRecursive(value); return *this;}
73
75
83 inline const Aws::Vector<ParameterStringFilter>& GetParameterFilters() const{ return m_parameterFilters; }
84 inline bool ParameterFiltersHasBeenSet() const { return m_parameterFiltersHasBeenSet; }
85 inline void SetParameterFilters(const Aws::Vector<ParameterStringFilter>& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = value; }
86 inline void SetParameterFilters(Aws::Vector<ParameterStringFilter>&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = std::move(value); }
89 inline GetParametersByPathRequest& AddParameterFilters(const ParameterStringFilter& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.push_back(value); return *this; }
90 inline GetParametersByPathRequest& AddParameterFilters(ParameterStringFilter&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.push_back(std::move(value)); return *this; }
92
94
97 inline bool GetWithDecryption() const{ return m_withDecryption; }
98 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
99 inline void SetWithDecryption(bool value) { m_withDecryptionHasBeenSet = true; m_withDecryption = value; }
100 inline GetParametersByPathRequest& WithWithDecryption(bool value) { SetWithDecryption(value); return *this;}
102
104
109 inline int GetMaxResults() const{ return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 inline GetParametersByPathRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114
116
120 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
121 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
122 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
123 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
124 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
125 inline GetParametersByPathRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 inline GetParametersByPathRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 inline GetParametersByPathRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
129 private:
130
131 Aws::String m_path;
132 bool m_pathHasBeenSet = false;
133
134 bool m_recursive;
135 bool m_recursiveHasBeenSet = false;
136
137 Aws::Vector<ParameterStringFilter> m_parameterFilters;
138 bool m_parameterFiltersHasBeenSet = false;
139
140 bool m_withDecryption;
141 bool m_withDecryptionHasBeenSet = false;
142
143 int m_maxResults;
144 bool m_maxResultsHasBeenSet = false;
145
146 Aws::String m_nextToken;
147 bool m_nextTokenHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SSM
152} // namespace Aws
GetParametersByPathRequest & WithNextToken(Aws::String &&value)
GetParametersByPathRequest & WithWithDecryption(bool value)
GetParametersByPathRequest & WithMaxResults(int value)
const Aws::Vector< ParameterStringFilter > & GetParameterFilters() const
GetParametersByPathRequest & WithNextToken(const char *value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetParameterFilters(Aws::Vector< ParameterStringFilter > &&value)
virtual const char * GetServiceRequestName() const override
void SetParameterFilters(const Aws::Vector< ParameterStringFilter > &value)
GetParametersByPathRequest & WithParameterFilters(const Aws::Vector< ParameterStringFilter > &value)
GetParametersByPathRequest & WithNextToken(const Aws::String &value)
GetParametersByPathRequest & AddParameterFilters(ParameterStringFilter &&value)
GetParametersByPathRequest & WithPath(const char *value)
GetParametersByPathRequest & WithPath(const Aws::String &value)
GetParametersByPathRequest & AddParameterFilters(const ParameterStringFilter &value)
GetParametersByPathRequest & WithParameterFilters(Aws::Vector< ParameterStringFilter > &&value)
GetParametersByPathRequest & WithPath(Aws::String &&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