AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeParametersRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm/model/ParametersFilter.h>
12#include <aws/ssm/model/ParameterStringFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SSM
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeParameters"; }
34
35 AWS_SSM_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::Vector<ParametersFilter>& GetFilters() const{ return m_filters; }
45 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
46 inline void SetFilters(const Aws::Vector<ParametersFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
47 inline void SetFilters(Aws::Vector<ParametersFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
49 inline DescribeParametersRequest& WithFilters(Aws::Vector<ParametersFilter>&& value) { SetFilters(std::move(value)); return *this;}
50 inline DescribeParametersRequest& AddFilters(const ParametersFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
51 inline DescribeParametersRequest& AddFilters(ParametersFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::Vector<ParameterStringFilter>& GetParameterFilters() const{ return m_parameterFilters; }
59 inline bool ParameterFiltersHasBeenSet() const { return m_parameterFiltersHasBeenSet; }
60 inline void SetParameterFilters(const Aws::Vector<ParameterStringFilter>& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = value; }
61 inline void SetParameterFilters(Aws::Vector<ParameterStringFilter>&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = std::move(value); }
64 inline DescribeParametersRequest& AddParameterFilters(const ParameterStringFilter& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.push_back(value); return *this; }
65 inline DescribeParametersRequest& AddParameterFilters(ParameterStringFilter&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.push_back(std::move(value)); return *this; }
67
69
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline DescribeParametersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline DescribeParametersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline DescribeParametersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline DescribeParametersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94
96
109 inline bool GetShared() const{ return m_shared; }
110 inline bool SharedHasBeenSet() const { return m_sharedHasBeenSet; }
111 inline void SetShared(bool value) { m_sharedHasBeenSet = true; m_shared = value; }
112 inline DescribeParametersRequest& WithShared(bool value) { SetShared(value); return *this;}
114 private:
115
117 bool m_filtersHasBeenSet = false;
118
119 Aws::Vector<ParameterStringFilter> m_parameterFilters;
120 bool m_parameterFiltersHasBeenSet = false;
121
122 int m_maxResults;
123 bool m_maxResultsHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127
128 bool m_shared;
129 bool m_sharedHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SSM
134} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeParametersRequest & AddParameterFilters(ParameterStringFilter &&value)
DescribeParametersRequest & AddParameterFilters(const ParameterStringFilter &value)
DescribeParametersRequest & WithMaxResults(int value)
DescribeParametersRequest & AddFilters(const ParametersFilter &value)
const Aws::Vector< ParameterStringFilter > & GetParameterFilters() const
DescribeParametersRequest & WithFilters(Aws::Vector< ParametersFilter > &&value)
void SetParameterFilters(Aws::Vector< ParameterStringFilter > &&value)
void SetParameterFilters(const Aws::Vector< ParameterStringFilter > &value)
DescribeParametersRequest & WithShared(bool value)
DescribeParametersRequest & WithNextToken(Aws::String &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeParametersRequest & WithNextToken(const char *value)
void SetFilters(const Aws::Vector< ParametersFilter > &value)
DescribeParametersRequest & AddFilters(ParametersFilter &&value)
DescribeParametersRequest & WithParameterFilters(Aws::Vector< ParameterStringFilter > &&value)
DescribeParametersRequest & WithFilters(const Aws::Vector< ParametersFilter > &value)
void SetFilters(Aws::Vector< ParametersFilter > &&value)
const Aws::Vector< ParametersFilter > & GetFilters() const
DescribeParametersRequest & WithNextToken(const Aws::String &value)
DescribeParametersRequest & WithParameterFilters(const Aws::Vector< ParameterStringFilter > &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