AWS SDK for C++  1.9.123
AWS SDK for C++
GetOpsSummaryRequest.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>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace SSM
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetOpsSummary"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetSyncName() const{ return m_syncName; }
45 
49  inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
50 
54  inline void SetSyncName(const Aws::String& value) { m_syncNameHasBeenSet = true; m_syncName = value; }
55 
59  inline void SetSyncName(Aws::String&& value) { m_syncNameHasBeenSet = true; m_syncName = std::move(value); }
60 
64  inline void SetSyncName(const char* value) { m_syncNameHasBeenSet = true; m_syncName.assign(value); }
65 
69  inline GetOpsSummaryRequest& WithSyncName(const Aws::String& value) { SetSyncName(value); return *this;}
70 
74  inline GetOpsSummaryRequest& WithSyncName(Aws::String&& value) { SetSyncName(std::move(value)); return *this;}
75 
79  inline GetOpsSummaryRequest& WithSyncName(const char* value) { SetSyncName(value); return *this;}
80 
81 
85  inline const Aws::Vector<OpsFilter>& GetFilters() const{ return m_filters; }
86 
90  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
91 
95  inline void SetFilters(const Aws::Vector<OpsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
96 
100  inline void SetFilters(Aws::Vector<OpsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
101 
105  inline GetOpsSummaryRequest& WithFilters(const Aws::Vector<OpsFilter>& value) { SetFilters(value); return *this;}
106 
110  inline GetOpsSummaryRequest& WithFilters(Aws::Vector<OpsFilter>&& value) { SetFilters(std::move(value)); return *this;}
111 
115  inline GetOpsSummaryRequest& AddFilters(const OpsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
116 
120  inline GetOpsSummaryRequest& AddFilters(OpsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
121 
122 
127  inline const Aws::Vector<OpsAggregator>& GetAggregators() const{ return m_aggregators; }
128 
133  inline bool AggregatorsHasBeenSet() const { return m_aggregatorsHasBeenSet; }
134 
139  inline void SetAggregators(const Aws::Vector<OpsAggregator>& value) { m_aggregatorsHasBeenSet = true; m_aggregators = value; }
140 
145  inline void SetAggregators(Aws::Vector<OpsAggregator>&& value) { m_aggregatorsHasBeenSet = true; m_aggregators = std::move(value); }
146 
151  inline GetOpsSummaryRequest& WithAggregators(const Aws::Vector<OpsAggregator>& value) { SetAggregators(value); return *this;}
152 
157  inline GetOpsSummaryRequest& WithAggregators(Aws::Vector<OpsAggregator>&& value) { SetAggregators(std::move(value)); return *this;}
158 
163  inline GetOpsSummaryRequest& AddAggregators(const OpsAggregator& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(value); return *this; }
164 
169  inline GetOpsSummaryRequest& AddAggregators(OpsAggregator&& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(std::move(value)); return *this; }
170 
171 
175  inline const Aws::Vector<OpsResultAttribute>& GetResultAttributes() const{ return m_resultAttributes; }
176 
180  inline bool ResultAttributesHasBeenSet() const { return m_resultAttributesHasBeenSet; }
181 
185  inline void SetResultAttributes(const Aws::Vector<OpsResultAttribute>& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes = value; }
186 
190  inline void SetResultAttributes(Aws::Vector<OpsResultAttribute>&& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes = std::move(value); }
191 
195  inline GetOpsSummaryRequest& WithResultAttributes(const Aws::Vector<OpsResultAttribute>& value) { SetResultAttributes(value); return *this;}
196 
200  inline GetOpsSummaryRequest& WithResultAttributes(Aws::Vector<OpsResultAttribute>&& value) { SetResultAttributes(std::move(value)); return *this;}
201 
205  inline GetOpsSummaryRequest& AddResultAttributes(const OpsResultAttribute& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes.push_back(value); return *this; }
206 
210  inline GetOpsSummaryRequest& AddResultAttributes(OpsResultAttribute&& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes.push_back(std::move(value)); return *this; }
211 
212 
217  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
218 
223  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
224 
229  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
230 
235  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
236 
241  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
242 
247  inline GetOpsSummaryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
248 
253  inline GetOpsSummaryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
254 
259  inline GetOpsSummaryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
260 
261 
267  inline int GetMaxResults() const{ return m_maxResults; }
268 
274  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
275 
281  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
282 
288  inline GetOpsSummaryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
289 
290  private:
291 
292  Aws::String m_syncName;
293  bool m_syncNameHasBeenSet;
294 
295  Aws::Vector<OpsFilter> m_filters;
296  bool m_filtersHasBeenSet;
297 
298  Aws::Vector<OpsAggregator> m_aggregators;
299  bool m_aggregatorsHasBeenSet;
300 
301  Aws::Vector<OpsResultAttribute> m_resultAttributes;
302  bool m_resultAttributesHasBeenSet;
303 
304  Aws::String m_nextToken;
305  bool m_nextTokenHasBeenSet;
306 
307  int m_maxResults;
308  bool m_maxResultsHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace SSM
313 } // namespace Aws
Aws::SSM::Model::OpsAggregator
Definition: OpsAggregator.h:39
Aws::SSM::Model::GetOpsSummaryRequest::WithMaxResults
GetOpsSummaryRequest & WithMaxResults(int value)
Definition: GetOpsSummaryRequest.h:288
Aws::SSM::Model::GetOpsSummaryRequest::AddFilters
GetOpsSummaryRequest & AddFilters(OpsFilter &&value)
Definition: GetOpsSummaryRequest.h:120
OpsAggregator.h
Aws::SSM::Model::GetOpsSummaryRequest::SetSyncName
void SetSyncName(Aws::String &&value)
Definition: GetOpsSummaryRequest.h:59
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::GetOpsSummaryRequest::ResultAttributesHasBeenSet
bool ResultAttributesHasBeenSet() const
Definition: GetOpsSummaryRequest.h:180
OpsFilter.h
Aws::SSM::Model::GetOpsSummaryRequest::AddFilters
GetOpsSummaryRequest & AddFilters(const OpsFilter &value)
Definition: GetOpsSummaryRequest.h:115
Aws::SSM::Model::GetOpsSummaryRequest::SetAggregators
void SetAggregators(Aws::Vector< OpsAggregator > &&value)
Definition: GetOpsSummaryRequest.h:145
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::GetOpsSummaryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetOpsSummaryRequest.h:34
Aws::SSM::Model::GetOpsSummaryRequest::WithAggregators
GetOpsSummaryRequest & WithAggregators(const Aws::Vector< OpsAggregator > &value)
Definition: GetOpsSummaryRequest.h:151
AWSVector.h
Aws::SSM::Model::GetOpsSummaryRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: GetOpsSummaryRequest.h:90
Aws::SSM::Model::GetOpsSummaryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetOpsSummaryRequest.h:229
Aws::SSM::Model::GetOpsSummaryRequest::SetSyncName
void SetSyncName(const char *value)
Definition: GetOpsSummaryRequest.h:64
Aws::SSM::Model::GetOpsSummaryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetOpsSummaryRequest.h:241
Aws::SSM::Model::GetOpsSummaryRequest::WithSyncName
GetOpsSummaryRequest & WithSyncName(Aws::String &&value)
Definition: GetOpsSummaryRequest.h:74
Aws::SSM::Model::GetOpsSummaryRequest::SetFilters
void SetFilters(const Aws::Vector< OpsFilter > &value)
Definition: GetOpsSummaryRequest.h:95
Aws::SSM::Model::GetOpsSummaryRequest
Definition: GetOpsSummaryRequest.h:26
Aws::SSM::Model::GetOpsSummaryRequest::SetAggregators
void SetAggregators(const Aws::Vector< OpsAggregator > &value)
Definition: GetOpsSummaryRequest.h:139
Aws::SSM::Model::GetOpsSummaryRequest::SetResultAttributes
void SetResultAttributes(const Aws::Vector< OpsResultAttribute > &value)
Definition: GetOpsSummaryRequest.h:185
Aws::SSM::Model::GetOpsSummaryRequest::WithFilters
GetOpsSummaryRequest & WithFilters(const Aws::Vector< OpsFilter > &value)
Definition: GetOpsSummaryRequest.h:105
Aws::SSM::Model::GetOpsSummaryRequest::GetAggregators
const Aws::Vector< OpsAggregator > & GetAggregators() const
Definition: GetOpsSummaryRequest.h:127
AWSString.h
Aws::SSM::Model::GetOpsSummaryRequest::WithNextToken
GetOpsSummaryRequest & WithNextToken(Aws::String &&value)
Definition: GetOpsSummaryRequest.h:253
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::OpsResultAttribute
Definition: OpsResultAttribute.h:32
Aws::SSM::Model::GetOpsSummaryRequest::WithResultAttributes
GetOpsSummaryRequest & WithResultAttributes(const Aws::Vector< OpsResultAttribute > &value)
Definition: GetOpsSummaryRequest.h:195
Aws::SSM::Model::GetOpsSummaryRequest::GetFilters
const Aws::Vector< OpsFilter > & GetFilters() const
Definition: GetOpsSummaryRequest.h:85
Aws::SSM::Model::GetOpsSummaryRequest::SetFilters
void SetFilters(Aws::Vector< OpsFilter > &&value)
Definition: GetOpsSummaryRequest.h:100
Aws::SSM::Model::GetOpsSummaryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSM::Model::GetOpsSummaryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::GetOpsSummaryRequest::AggregatorsHasBeenSet
bool AggregatorsHasBeenSet() const
Definition: GetOpsSummaryRequest.h:133
Aws::SSM::Model::GetOpsSummaryRequest::GetSyncName
const Aws::String & GetSyncName() const
Definition: GetOpsSummaryRequest.h:44
Aws::SSM::Model::GetOpsSummaryRequest::WithSyncName
GetOpsSummaryRequest & WithSyncName(const Aws::String &value)
Definition: GetOpsSummaryRequest.h:69
Aws::SSM::Model::GetOpsSummaryRequest::WithResultAttributes
GetOpsSummaryRequest & WithResultAttributes(Aws::Vector< OpsResultAttribute > &&value)
Definition: GetOpsSummaryRequest.h:200
Aws::SSM::Model::GetOpsSummaryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetOpsSummaryRequest.h:223
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::GetOpsSummaryRequest::WithAggregators
GetOpsSummaryRequest & WithAggregators(Aws::Vector< OpsAggregator > &&value)
Definition: GetOpsSummaryRequest.h:157
Aws::SSM::Model::GetOpsSummaryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetOpsSummaryRequest.h:217
Aws::SSM::Model::GetOpsSummaryRequest::SyncNameHasBeenSet
bool SyncNameHasBeenSet() const
Definition: GetOpsSummaryRequest.h:49
Aws::SSM::Model::GetOpsSummaryRequest::AddResultAttributes
GetOpsSummaryRequest & AddResultAttributes(OpsResultAttribute &&value)
Definition: GetOpsSummaryRequest.h:210
Aws::SSM::Model::GetOpsSummaryRequest::SetResultAttributes
void SetResultAttributes(Aws::Vector< OpsResultAttribute > &&value)
Definition: GetOpsSummaryRequest.h:190
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::GetOpsSummaryRequest::WithFilters
GetOpsSummaryRequest & WithFilters(Aws::Vector< OpsFilter > &&value)
Definition: GetOpsSummaryRequest.h:110
Aws::SSM::Model::GetOpsSummaryRequest::SetSyncName
void SetSyncName(const Aws::String &value)
Definition: GetOpsSummaryRequest.h:54
Aws::SSM::Model::GetOpsSummaryRequest::WithNextToken
GetOpsSummaryRequest & WithNextToken(const char *value)
Definition: GetOpsSummaryRequest.h:259
Aws::SSM::Model::GetOpsSummaryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetOpsSummaryRequest.h:274
OpsResultAttribute.h
Aws::SSM::Model::GetOpsSummaryRequest::GetMaxResults
int GetMaxResults() const
Definition: GetOpsSummaryRequest.h:267
Aws::SSM::Model::GetOpsSummaryRequest::WithNextToken
GetOpsSummaryRequest & WithNextToken(const Aws::String &value)
Definition: GetOpsSummaryRequest.h:247
Aws::SSM::Model::GetOpsSummaryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetOpsSummaryRequest.h:235
Aws::SSM::Model::GetOpsSummaryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetOpsSummaryRequest.h:281
Aws::SSM::Model::GetOpsSummaryRequest::WithSyncName
GetOpsSummaryRequest & WithSyncName(const char *value)
Definition: GetOpsSummaryRequest.h:79
Aws::SSM::Model::GetOpsSummaryRequest::GetOpsSummaryRequest
GetOpsSummaryRequest()
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::OpsFilter
Definition: OpsFilter.h:34
Aws::SSM::Model::GetOpsSummaryRequest::AddResultAttributes
GetOpsSummaryRequest & AddResultAttributes(const OpsResultAttribute &value)
Definition: GetOpsSummaryRequest.h:205
Aws::SSM::Model::GetOpsSummaryRequest::GetResultAttributes
const Aws::Vector< OpsResultAttribute > & GetResultAttributes() const
Definition: GetOpsSummaryRequest.h:175
SSMRequest.h
Aws::SSM::Model::GetOpsSummaryRequest::AddAggregators
GetOpsSummaryRequest & AddAggregators(OpsAggregator &&value)
Definition: GetOpsSummaryRequest.h:169
Aws::SSM::Model::GetOpsSummaryRequest::AddAggregators
GetOpsSummaryRequest & AddAggregators(const OpsAggregator &value)
Definition: GetOpsSummaryRequest.h:163