AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVirtualClustersRequest.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/emr-containers/model/ContainerProviderType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/emr-containers/model/VirtualClusterState.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace EMRContainers
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_EMRCONTAINERS_API ListVirtualClustersRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListVirtualClusters"; }
39
40 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
41
42 AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetContainerProviderId() const{ return m_containerProviderId; }
50 inline bool ContainerProviderIdHasBeenSet() const { return m_containerProviderIdHasBeenSet; }
51 inline void SetContainerProviderId(const Aws::String& value) { m_containerProviderIdHasBeenSet = true; m_containerProviderId = value; }
52 inline void SetContainerProviderId(Aws::String&& value) { m_containerProviderIdHasBeenSet = true; m_containerProviderId = std::move(value); }
53 inline void SetContainerProviderId(const char* value) { m_containerProviderIdHasBeenSet = true; m_containerProviderId.assign(value); }
55 inline ListVirtualClustersRequest& WithContainerProviderId(Aws::String&& value) { SetContainerProviderId(std::move(value)); return *this;}
56 inline ListVirtualClustersRequest& WithContainerProviderId(const char* value) { SetContainerProviderId(value); return *this;}
58
60
64 inline const ContainerProviderType& GetContainerProviderType() const{ return m_containerProviderType; }
65 inline bool ContainerProviderTypeHasBeenSet() const { return m_containerProviderTypeHasBeenSet; }
66 inline void SetContainerProviderType(const ContainerProviderType& value) { m_containerProviderTypeHasBeenSet = true; m_containerProviderType = value; }
67 inline void SetContainerProviderType(ContainerProviderType&& value) { m_containerProviderTypeHasBeenSet = true; m_containerProviderType = std::move(value); }
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
77 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
78 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
79 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
81 inline ListVirtualClustersRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
89 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
90 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
91 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
93 inline ListVirtualClustersRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
95
97
100 inline const Aws::Vector<VirtualClusterState>& GetStates() const{ return m_states; }
101 inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; }
102 inline void SetStates(const Aws::Vector<VirtualClusterState>& value) { m_statesHasBeenSet = true; m_states = value; }
103 inline void SetStates(Aws::Vector<VirtualClusterState>&& value) { m_statesHasBeenSet = true; m_states = std::move(value); }
105 inline ListVirtualClustersRequest& WithStates(Aws::Vector<VirtualClusterState>&& value) { SetStates(std::move(value)); return *this;}
106 inline ListVirtualClustersRequest& AddStates(const VirtualClusterState& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; }
107 inline ListVirtualClustersRequest& AddStates(VirtualClusterState&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; }
109
111
114 inline int GetMaxResults() const{ return m_maxResults; }
115 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
117 inline ListVirtualClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119
121
124 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
128 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
129 inline ListVirtualClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
130 inline ListVirtualClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 inline ListVirtualClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133
135
140 inline bool GetEksAccessEntryIntegrated() const{ return m_eksAccessEntryIntegrated; }
141 inline bool EksAccessEntryIntegratedHasBeenSet() const { return m_eksAccessEntryIntegratedHasBeenSet; }
142 inline void SetEksAccessEntryIntegrated(bool value) { m_eksAccessEntryIntegratedHasBeenSet = true; m_eksAccessEntryIntegrated = value; }
145 private:
146
147 Aws::String m_containerProviderId;
148 bool m_containerProviderIdHasBeenSet = false;
149
150 ContainerProviderType m_containerProviderType;
151 bool m_containerProviderTypeHasBeenSet = false;
152
153 Aws::Utils::DateTime m_createdAfter;
154 bool m_createdAfterHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdBefore;
157 bool m_createdBeforeHasBeenSet = false;
158
160 bool m_statesHasBeenSet = false;
161
162 int m_maxResults;
163 bool m_maxResultsHasBeenSet = false;
164
165 Aws::String m_nextToken;
166 bool m_nextTokenHasBeenSet = false;
167
168 bool m_eksAccessEntryIntegrated;
169 bool m_eksAccessEntryIntegratedHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace EMRContainers
174} // namespace Aws
AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListVirtualClustersRequest & WithStates(Aws::Vector< VirtualClusterState > &&value)
ListVirtualClustersRequest & WithContainerProviderId(const char *value)
ListVirtualClustersRequest & WithEksAccessEntryIntegrated(bool value)
ListVirtualClustersRequest & AddStates(const VirtualClusterState &value)
const Aws::Vector< VirtualClusterState > & GetStates() const
void SetContainerProviderType(const ContainerProviderType &value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
ListVirtualClustersRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListVirtualClustersRequest & WithNextToken(const Aws::String &value)
ListVirtualClustersRequest & WithNextToken(const char *value)
ListVirtualClustersRequest & WithContainerProviderType(const ContainerProviderType &value)
void SetStates(Aws::Vector< VirtualClusterState > &&value)
ListVirtualClustersRequest & WithStates(const Aws::Vector< VirtualClusterState > &value)
ListVirtualClustersRequest & WithContainerProviderId(const Aws::String &value)
ListVirtualClustersRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
void SetStates(const Aws::Vector< VirtualClusterState > &value)
ListVirtualClustersRequest & WithNextToken(Aws::String &&value)
ListVirtualClustersRequest & WithContainerProviderId(Aws::String &&value)
ListVirtualClustersRequest & AddStates(VirtualClusterState &&value)
ListVirtualClustersRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListVirtualClustersRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListVirtualClustersRequest & WithContainerProviderType(ContainerProviderType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector