AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
ListIntegrationsRequest.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmniRequest.h>
8#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
9#include <aws/cloudwatchomni/model/IntegrationStatus.h>
10#include <aws/cloudwatchomni/model/IntegrationType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CloudWatchOmni {
17namespace Model {
18
26 public:
27 AWS_CLOUDWATCHOMNI_API ListIntegrationsRequest() = default;
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 "ListIntegrations"; }
34
35 AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override;
36
37 AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
40
43 inline IntegrationType GetIntegrationType() const { return m_integrationType; }
44 inline bool IntegrationTypeHasBeenSet() const { return m_integrationTypeHasBeenSet; }
46 m_integrationTypeHasBeenSet = true;
47 m_integrationType = value;
48 }
50 SetIntegrationType(value);
51 return *this;
52 }
54
56
59 inline IntegrationStatus GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(IntegrationStatus value) {
62 m_statusHasBeenSet = true;
63 m_status = value;
64 }
66 SetStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template <typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) {
97 m_nextTokenHasBeenSet = true;
98 m_nextToken = std::forward<NextTokenT>(value);
99 }
100 template <typename NextTokenT = Aws::String>
102 SetNextToken(std::forward<NextTokenT>(value));
103 return *this;
104 }
106
108
111 inline int GetMaxResults() const { return m_maxResults; }
112 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
113 inline void SetMaxResults(int value) {
114 m_maxResultsHasBeenSet = true;
115 m_maxResults = value;
116 }
118 SetMaxResults(value);
119 return *this;
120 }
122 private:
123 IntegrationType m_integrationType{IntegrationType::NOT_SET};
124
126
127 Aws::String m_name;
128
129 Aws::String m_nextToken;
130
131 int m_maxResults{0};
132 bool m_integrationTypeHasBeenSet = false;
133 bool m_statusHasBeenSet = false;
134 bool m_nameHasBeenSet = false;
135 bool m_nextTokenHasBeenSet = false;
136 bool m_maxResultsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace CloudWatchOmni
141} // namespace Aws
AWS_CLOUDWATCHOMNI_API ListIntegrationsRequest()=default
ListIntegrationsRequest & WithName(NameT &&value)
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
ListIntegrationsRequest & WithStatus(IntegrationStatus value)
ListIntegrationsRequest & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
ListIntegrationsRequest & WithIntegrationType(IntegrationType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String