AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListManagedEndpointsRequest.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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/emr-containers/model/EndpointState.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace EMRContainers
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_EMRCONTAINERS_API ListManagedEndpointsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListManagedEndpoints"; }
38
39 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
40
41 AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; }
49 inline bool VirtualClusterIdHasBeenSet() const { return m_virtualClusterIdHasBeenSet; }
50 inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = value; }
51 inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = std::move(value); }
52 inline void SetVirtualClusterId(const char* value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId.assign(value); }
54 inline ListManagedEndpointsRequest& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;}
55 inline ListManagedEndpointsRequest& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
63 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
64 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
65 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
67 inline ListManagedEndpointsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
75 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
76 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
77 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
79 inline ListManagedEndpointsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetTypes() const{ return m_types; }
87 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
88 inline void SetTypes(const Aws::Vector<Aws::String>& value) { m_typesHasBeenSet = true; m_types = value; }
89 inline void SetTypes(Aws::Vector<Aws::String>&& value) { m_typesHasBeenSet = true; m_types = std::move(value); }
90 inline ListManagedEndpointsRequest& WithTypes(const Aws::Vector<Aws::String>& value) { SetTypes(value); return *this;}
91 inline ListManagedEndpointsRequest& WithTypes(Aws::Vector<Aws::String>&& value) { SetTypes(std::move(value)); return *this;}
92 inline ListManagedEndpointsRequest& AddTypes(const Aws::String& value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
93 inline ListManagedEndpointsRequest& AddTypes(Aws::String&& value) { m_typesHasBeenSet = true; m_types.push_back(std::move(value)); return *this; }
94 inline ListManagedEndpointsRequest& AddTypes(const char* value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
96
98
101 inline const Aws::Vector<EndpointState>& GetStates() const{ return m_states; }
102 inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; }
103 inline void SetStates(const Aws::Vector<EndpointState>& value) { m_statesHasBeenSet = true; m_states = value; }
104 inline void SetStates(Aws::Vector<EndpointState>&& value) { m_statesHasBeenSet = true; m_states = std::move(value); }
105 inline ListManagedEndpointsRequest& WithStates(const Aws::Vector<EndpointState>& value) { SetStates(value); return *this;}
106 inline ListManagedEndpointsRequest& WithStates(Aws::Vector<EndpointState>&& value) { SetStates(std::move(value)); return *this;}
107 inline ListManagedEndpointsRequest& AddStates(const EndpointState& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; }
108 inline ListManagedEndpointsRequest& AddStates(EndpointState&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; }
110
112
115 inline int GetMaxResults() const{ return m_maxResults; }
116 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
117 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
118 inline ListManagedEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
120
122
125 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
126 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
128 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
129 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
130 inline ListManagedEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 inline ListManagedEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 inline ListManagedEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134 private:
135
136 Aws::String m_virtualClusterId;
137 bool m_virtualClusterIdHasBeenSet = false;
138
139 Aws::Utils::DateTime m_createdBefore;
140 bool m_createdBeforeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAfter;
143 bool m_createdAfterHasBeenSet = false;
144
146 bool m_typesHasBeenSet = false;
147
149 bool m_statesHasBeenSet = false;
150
151 int m_maxResults;
152 bool m_maxResultsHasBeenSet = false;
153
154 Aws::String m_nextToken;
155 bool m_nextTokenHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace EMRContainers
160} // namespace Aws
ListManagedEndpointsRequest & AddStates(EndpointState &&value)
void SetStates(const Aws::Vector< EndpointState > &value)
ListManagedEndpointsRequest & WithVirtualClusterId(const char *value)
void SetTypes(const Aws::Vector< Aws::String > &value)
AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListManagedEndpointsRequest & WithStates(const Aws::Vector< EndpointState > &value)
ListManagedEndpointsRequest & WithNextToken(Aws::String &&value)
ListManagedEndpointsRequest & AddTypes(const Aws::String &value)
ListManagedEndpointsRequest & AddTypes(const char *value)
ListManagedEndpointsRequest & AddTypes(Aws::String &&value)
ListManagedEndpointsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListManagedEndpointsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListManagedEndpointsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListManagedEndpointsRequest & WithTypes(Aws::Vector< Aws::String > &&value)
ListManagedEndpointsRequest & AddStates(const EndpointState &value)
ListManagedEndpointsRequest & WithVirtualClusterId(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
ListManagedEndpointsRequest & WithVirtualClusterId(Aws::String &&value)
ListManagedEndpointsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListManagedEndpointsRequest & WithTypes(const Aws::Vector< Aws::String > &value)
ListManagedEndpointsRequest & WithNextToken(const char *value)
ListManagedEndpointsRequest & WithStates(Aws::Vector< EndpointState > &&value)
ListManagedEndpointsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector