AWS SDK for C++  1.9.131
AWS SDK for C++
ListComplianceSummariesRequest.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 "ListComplianceSummaries"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::Vector<ComplianceStringFilter>& GetFilters() const{ return m_filters; }
44 
49  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
50 
55  inline void SetFilters(const Aws::Vector<ComplianceStringFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
56 
61  inline void SetFilters(Aws::Vector<ComplianceStringFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
62 
67  inline ListComplianceSummariesRequest& WithFilters(const Aws::Vector<ComplianceStringFilter>& value) { SetFilters(value); return *this;}
68 
73  inline ListComplianceSummariesRequest& WithFilters(Aws::Vector<ComplianceStringFilter>&& value) { SetFilters(std::move(value)); return *this;}
74 
79  inline ListComplianceSummariesRequest& AddFilters(const ComplianceStringFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
80 
85  inline ListComplianceSummariesRequest& AddFilters(ComplianceStringFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
86 
87 
92  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 
98  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 
104  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 
110  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
111 
116  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
117 
122  inline ListComplianceSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
123 
128  inline ListComplianceSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
129 
134  inline ListComplianceSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136 
142  inline int GetMaxResults() const{ return m_maxResults; }
143 
149  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
150 
156  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
157 
163  inline ListComplianceSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
164 
165  private:
166 
168  bool m_filtersHasBeenSet;
169 
170  Aws::String m_nextToken;
171  bool m_nextTokenHasBeenSet;
172 
173  int m_maxResults;
174  bool m_maxResultsHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace SSM
179 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::ListComplianceSummariesRequest::WithNextToken
ListComplianceSummariesRequest & WithNextToken(const char *value)
Definition: ListComplianceSummariesRequest.h:134
Aws::SSM::Model::ListComplianceSummariesRequest::WithFilters
ListComplianceSummariesRequest & WithFilters(Aws::Vector< ComplianceStringFilter > &&value)
Definition: ListComplianceSummariesRequest.h:73
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::ListComplianceSummariesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListComplianceSummariesRequest.h:142
ComplianceStringFilter.h
Aws::SSM::Model::ListComplianceSummariesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::ListComplianceSummariesRequest::WithFilters
ListComplianceSummariesRequest & WithFilters(const Aws::Vector< ComplianceStringFilter > &value)
Definition: ListComplianceSummariesRequest.h:67
Aws::SSM::Model::ListComplianceSummariesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListComplianceSummariesRequest.h:32
Aws::SSM::Model::ListComplianceSummariesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListComplianceSummariesRequest.h:104
Aws::SSM::Model::ListComplianceSummariesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListComplianceSummariesRequest.h:92
Aws::SSM::Model::ListComplianceSummariesRequest::SetFilters
void SetFilters(Aws::Vector< ComplianceStringFilter > &&value)
Definition: ListComplianceSummariesRequest.h:61
Aws::SSM::Model::ListComplianceSummariesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListComplianceSummariesRequest.h:116
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::ListComplianceSummariesRequest::WithMaxResults
ListComplianceSummariesRequest & WithMaxResults(int value)
Definition: ListComplianceSummariesRequest.h:163
AWSVector.h
Aws::SSM::Model::ListComplianceSummariesRequest::GetFilters
const Aws::Vector< ComplianceStringFilter > & GetFilters() const
Definition: ListComplianceSummariesRequest.h:43
Aws::SSM::Model::ListComplianceSummariesRequest::WithNextToken
ListComplianceSummariesRequest & WithNextToken(const Aws::String &value)
Definition: ListComplianceSummariesRequest.h:122
Aws::SSM::Model::ListComplianceSummariesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListComplianceSummariesRequest.h:156
Aws::SSM::Model::ListComplianceSummariesRequest::WithNextToken
ListComplianceSummariesRequest & WithNextToken(Aws::String &&value)
Definition: ListComplianceSummariesRequest.h:128
Aws::SSM::Model::ListComplianceSummariesRequest::SetFilters
void SetFilters(const Aws::Vector< ComplianceStringFilter > &value)
Definition: ListComplianceSummariesRequest.h:55
Aws::SSM::Model::ListComplianceSummariesRequest
Definition: ListComplianceSummariesRequest.h:24
Aws::SSM::Model::ListComplianceSummariesRequest::AddFilters
ListComplianceSummariesRequest & AddFilters(ComplianceStringFilter &&value)
Definition: ListComplianceSummariesRequest.h:85
Aws::SSM::Model::ListComplianceSummariesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListComplianceSummariesRequest.h:49
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::ListComplianceSummariesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::ListComplianceSummariesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListComplianceSummariesRequest.h:98
Aws::SSM::Model::ComplianceStringFilter
Definition: ComplianceStringFilter.h:35
Aws::SSM::Model::ListComplianceSummariesRequest::AddFilters
ListComplianceSummariesRequest & AddFilters(const ComplianceStringFilter &value)
Definition: ListComplianceSummariesRequest.h:79
Aws::SSM::Model::ListComplianceSummariesRequest::ListComplianceSummariesRequest
ListComplianceSummariesRequest()
Aws::SSM::Model::ListComplianceSummariesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListComplianceSummariesRequest.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::ListComplianceSummariesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListComplianceSummariesRequest.h:149
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
SSMRequest.h