AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeActivationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
8 #include <aws/ssm/SSMRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SSM
17 {
18 namespace 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 "DescribeActivations"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::Vector<DescribeActivationsFilter>& GetFilters() const{ return m_filters; }
43 
47  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
48 
52  inline void SetFilters(const Aws::Vector<DescribeActivationsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
53 
57  inline void SetFilters(Aws::Vector<DescribeActivationsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
58 
62  inline DescribeActivationsRequest& WithFilters(const Aws::Vector<DescribeActivationsFilter>& value) { SetFilters(value); return *this;}
63 
67  inline DescribeActivationsRequest& WithFilters(Aws::Vector<DescribeActivationsFilter>&& value) { SetFilters(std::move(value)); return *this;}
68 
72  inline DescribeActivationsRequest& AddFilters(const DescribeActivationsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
73 
77  inline DescribeActivationsRequest& AddFilters(DescribeActivationsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
78 
79 
85  inline int GetMaxResults() const{ return m_maxResults; }
86 
92  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 
99  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 
106  inline DescribeActivationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 
108 
113  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 
119  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
120 
125  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
126 
131  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
132 
137  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
138 
143  inline DescribeActivationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 
149  inline DescribeActivationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
150 
155  inline DescribeActivationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
156 
157  private:
158 
160  bool m_filtersHasBeenSet;
161 
162  int m_maxResults;
163  bool m_maxResultsHasBeenSet;
164 
165  Aws::String m_nextToken;
166  bool m_nextTokenHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace SSM
171 } // namespace Aws
DescribeActivationsFilter.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::DescribeActivationsRequest::WithFilters
DescribeActivationsRequest & WithFilters(const Aws::Vector< DescribeActivationsFilter > &value)
Definition: DescribeActivationsRequest.h:62
Aws::SSM::Model::DescribeActivationsRequest
Definition: DescribeActivationsRequest.h:24
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::DescribeActivationsRequest::GetFilters
const Aws::Vector< DescribeActivationsFilter > & GetFilters() const
Definition: DescribeActivationsRequest.h:42
Aws::SSM::Model::DescribeActivationsRequest::AddFilters
DescribeActivationsRequest & AddFilters(const DescribeActivationsFilter &value)
Definition: DescribeActivationsRequest.h:72
Aws::SSM::Model::DescribeActivationsRequest::WithFilters
DescribeActivationsRequest & WithFilters(Aws::Vector< DescribeActivationsFilter > &&value)
Definition: DescribeActivationsRequest.h:67
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::DescribeActivationsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeActivationsRequest.h:47
Aws::SSM::Model::DescribeActivationsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeActivationsRequest.h:85
Aws::SSM::Model::DescribeActivationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeActivationsRequest.h:32
AWSVector.h
Aws::SSM::Model::DescribeActivationsFilter
Definition: DescribeActivationsFilter.h:34
Aws::SSM::Model::DescribeActivationsRequest::DescribeActivationsRequest
DescribeActivationsRequest()
Aws::SSM::Model::DescribeActivationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeActivationsRequest.h:119
Aws::SSM::Model::DescribeActivationsRequest::AddFilters
DescribeActivationsRequest & AddFilters(DescribeActivationsFilter &&value)
Definition: DescribeActivationsRequest.h:77
Aws::SSM::Model::DescribeActivationsRequest::WithNextToken
DescribeActivationsRequest & WithNextToken(const char *value)
Definition: DescribeActivationsRequest.h:155
Aws::SSM::Model::DescribeActivationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::DescribeActivationsRequest::SetFilters
void SetFilters(const Aws::Vector< DescribeActivationsFilter > &value)
Definition: DescribeActivationsRequest.h:52
Aws::SSM::Model::DescribeActivationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeActivationsRequest.h:113
AWSString.h
Aws::SSM::Model::DescribeActivationsRequest::WithMaxResults
DescribeActivationsRequest & WithMaxResults(int value)
Definition: DescribeActivationsRequest.h:106
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::DescribeActivationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeActivationsRequest.h:125
Aws::SSM::Model::DescribeActivationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::DescribeActivationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeActivationsRequest.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::DescribeActivationsRequest::WithNextToken
DescribeActivationsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeActivationsRequest.h:149
Aws::SSM::Model::DescribeActivationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeActivationsRequest.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::DescribeActivationsRequest::SetFilters
void SetFilters(Aws::Vector< DescribeActivationsFilter > &&value)
Definition: DescribeActivationsRequest.h:57
Aws::SSM::Model::DescribeActivationsRequest::WithNextToken
DescribeActivationsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeActivationsRequest.h:143
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::DescribeActivationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeActivationsRequest.h:99
SSMRequest.h
Aws::SSM::Model::DescribeActivationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeActivationsRequest.h:137