AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOpsSummaryRequest.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/OpsFilter.h>
12#include <aws/ssm/model/OpsAggregator.h>
13#include <aws/ssm/model/OpsResultAttribute.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SSM
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SSM_API GetOpsSummaryRequest();
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_SSM_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetSyncName() const{ return m_syncName; }
46 inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
47 inline void SetSyncName(const Aws::String& value) { m_syncNameHasBeenSet = true; m_syncName = value; }
48 inline void SetSyncName(Aws::String&& value) { m_syncNameHasBeenSet = true; m_syncName = std::move(value); }
49 inline void SetSyncName(const char* value) { m_syncNameHasBeenSet = true; m_syncName.assign(value); }
50 inline GetOpsSummaryRequest& WithSyncName(const Aws::String& value) { SetSyncName(value); return *this;}
51 inline GetOpsSummaryRequest& WithSyncName(Aws::String&& value) { SetSyncName(std::move(value)); return *this;}
52 inline GetOpsSummaryRequest& WithSyncName(const char* value) { SetSyncName(value); return *this;}
54
56
59 inline const Aws::Vector<OpsFilter>& GetFilters() const{ return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 inline void SetFilters(const Aws::Vector<OpsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
62 inline void SetFilters(Aws::Vector<OpsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
63 inline GetOpsSummaryRequest& WithFilters(const Aws::Vector<OpsFilter>& value) { SetFilters(value); return *this;}
64 inline GetOpsSummaryRequest& WithFilters(Aws::Vector<OpsFilter>&& value) { SetFilters(std::move(value)); return *this;}
65 inline GetOpsSummaryRequest& AddFilters(const OpsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
66 inline GetOpsSummaryRequest& AddFilters(OpsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
68
70
74 inline const Aws::Vector<OpsAggregator>& GetAggregators() const{ return m_aggregators; }
75 inline bool AggregatorsHasBeenSet() const { return m_aggregatorsHasBeenSet; }
76 inline void SetAggregators(const Aws::Vector<OpsAggregator>& value) { m_aggregatorsHasBeenSet = true; m_aggregators = value; }
77 inline void SetAggregators(Aws::Vector<OpsAggregator>&& value) { m_aggregatorsHasBeenSet = true; m_aggregators = std::move(value); }
79 inline GetOpsSummaryRequest& WithAggregators(Aws::Vector<OpsAggregator>&& value) { SetAggregators(std::move(value)); return *this;}
80 inline GetOpsSummaryRequest& AddAggregators(const OpsAggregator& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(value); return *this; }
81 inline GetOpsSummaryRequest& AddAggregators(OpsAggregator&& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::Vector<OpsResultAttribute>& GetResultAttributes() const{ return m_resultAttributes; }
89 inline bool ResultAttributesHasBeenSet() const { return m_resultAttributesHasBeenSet; }
90 inline void SetResultAttributes(const Aws::Vector<OpsResultAttribute>& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes = value; }
91 inline void SetResultAttributes(Aws::Vector<OpsResultAttribute>&& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes = std::move(value); }
94 inline GetOpsSummaryRequest& AddResultAttributes(const OpsResultAttribute& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes.push_back(value); return *this; }
95 inline GetOpsSummaryRequest& AddResultAttributes(OpsResultAttribute&& value) { m_resultAttributesHasBeenSet = true; m_resultAttributes.push_back(std::move(value)); return *this; }
97
99
103 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
104 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
105 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
106 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
107 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
108 inline GetOpsSummaryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 inline GetOpsSummaryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
110 inline GetOpsSummaryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
112
114
119 inline int GetMaxResults() const{ return m_maxResults; }
120 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
121 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
122 inline GetOpsSummaryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
124 private:
125
126 Aws::String m_syncName;
127 bool m_syncNameHasBeenSet = false;
128
129 Aws::Vector<OpsFilter> m_filters;
130 bool m_filtersHasBeenSet = false;
131
132 Aws::Vector<OpsAggregator> m_aggregators;
133 bool m_aggregatorsHasBeenSet = false;
134
135 Aws::Vector<OpsResultAttribute> m_resultAttributes;
136 bool m_resultAttributesHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 int m_maxResults;
142 bool m_maxResultsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace SSM
147} // namespace Aws
GetOpsSummaryRequest & AddFilters(OpsFilter &&value)
void SetSyncName(const Aws::String &value)
void SetResultAttributes(const Aws::Vector< OpsResultAttribute > &value)
void SetFilters(const Aws::Vector< OpsFilter > &value)
GetOpsSummaryRequest & WithAggregators(Aws::Vector< OpsAggregator > &&value)
void SetFilters(Aws::Vector< OpsFilter > &&value)
GetOpsSummaryRequest & WithFilters(const Aws::Vector< OpsFilter > &value)
GetOpsSummaryRequest & WithSyncName(const Aws::String &value)
GetOpsSummaryRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
GetOpsSummaryRequest & WithSyncName(Aws::String &&value)
GetOpsSummaryRequest & WithNextToken(Aws::String &&value)
GetOpsSummaryRequest & AddResultAttributes(const OpsResultAttribute &value)
GetOpsSummaryRequest & WithMaxResults(int value)
void SetAggregators(const Aws::Vector< OpsAggregator > &value)
GetOpsSummaryRequest & AddFilters(const OpsFilter &value)
const Aws::Vector< OpsAggregator > & GetAggregators() const
AWS_SSM_API Aws::String SerializePayload() const override
GetOpsSummaryRequest & AddAggregators(OpsAggregator &&value)
GetOpsSummaryRequest & WithResultAttributes(const Aws::Vector< OpsResultAttribute > &value)
void SetAggregators(Aws::Vector< OpsAggregator > &&value)
const Aws::Vector< OpsResultAttribute > & GetResultAttributes() const
const Aws::String & GetSyncName() const
GetOpsSummaryRequest & WithAggregators(const Aws::Vector< OpsAggregator > &value)
GetOpsSummaryRequest & WithFilters(Aws::Vector< OpsFilter > &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetOpsSummaryRequest & WithSyncName(const char *value)
GetOpsSummaryRequest & WithNextToken(const Aws::String &value)
GetOpsSummaryRequest & AddResultAttributes(OpsResultAttribute &&value)
const Aws::Vector< OpsFilter > & GetFilters() const
void SetResultAttributes(Aws::Vector< OpsResultAttribute > &&value)
GetOpsSummaryRequest & AddAggregators(const OpsAggregator &value)
void SetNextToken(const Aws::String &value)
GetOpsSummaryRequest & WithResultAttributes(Aws::Vector< OpsResultAttribute > &&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