AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDataflowEndpointGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/EndpointDetails.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GroundStation {
26namespace Model {
33 public:
34 AWS_GROUNDSTATION_API GetDataflowEndpointGroupResult() = default;
37
39
42 inline const Aws::String& GetDataflowEndpointGroupId() const { return m_dataflowEndpointGroupId; }
43 template <typename DataflowEndpointGroupIdT = Aws::String>
44 void SetDataflowEndpointGroupId(DataflowEndpointGroupIdT&& value) {
45 m_dataflowEndpointGroupIdHasBeenSet = true;
46 m_dataflowEndpointGroupId = std::forward<DataflowEndpointGroupIdT>(value);
47 }
48 template <typename DataflowEndpointGroupIdT = Aws::String>
50 SetDataflowEndpointGroupId(std::forward<DataflowEndpointGroupIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDataflowEndpointGroupArn() const { return m_dataflowEndpointGroupArn; }
60 template <typename DataflowEndpointGroupArnT = Aws::String>
61 void SetDataflowEndpointGroupArn(DataflowEndpointGroupArnT&& value) {
62 m_dataflowEndpointGroupArnHasBeenSet = true;
63 m_dataflowEndpointGroupArn = std::forward<DataflowEndpointGroupArnT>(value);
64 }
65 template <typename DataflowEndpointGroupArnT = Aws::String>
67 SetDataflowEndpointGroupArn(std::forward<DataflowEndpointGroupArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<EndpointDetails>& GetEndpointsDetails() const { return m_endpointsDetails; }
77 template <typename EndpointsDetailsT = Aws::Vector<EndpointDetails>>
78 void SetEndpointsDetails(EndpointsDetailsT&& value) {
79 m_endpointsDetailsHasBeenSet = true;
80 m_endpointsDetails = std::forward<EndpointsDetailsT>(value);
81 }
82 template <typename EndpointsDetailsT = Aws::Vector<EndpointDetails>>
84 SetEndpointsDetails(std::forward<EndpointsDetailsT>(value));
85 return *this;
86 }
87 template <typename EndpointsDetailsT = EndpointDetails>
89 m_endpointsDetailsHasBeenSet = true;
90 m_endpointsDetails.emplace_back(std::forward<EndpointsDetailsT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
100 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetTags(TagsT&& value) {
102 m_tagsHasBeenSet = true;
103 m_tags = std::forward<TagsT>(value);
104 }
105 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 SetTags(std::forward<TagsT>(value));
108 return *this;
109 }
110 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
111 GetDataflowEndpointGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
112 m_tagsHasBeenSet = true;
113 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
114 return *this;
115 }
117
119
125 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
126 inline void SetContactPrePassDurationSeconds(int value) {
127 m_contactPrePassDurationSecondsHasBeenSet = true;
128 m_contactPrePassDurationSeconds = value;
129 }
132 return *this;
133 }
135
137
143 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
144 inline void SetContactPostPassDurationSeconds(int value) {
145 m_contactPostPassDurationSecondsHasBeenSet = true;
146 m_contactPostPassDurationSeconds = value;
147 }
150 return *this;
151 }
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template <typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) {
159 m_requestIdHasBeenSet = true;
160 m_requestId = std::forward<RequestIdT>(value);
161 }
162 template <typename RequestIdT = Aws::String>
164 SetRequestId(std::forward<RequestIdT>(value));
165 return *this;
166 }
168 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
169
170 private:
171 Aws::String m_dataflowEndpointGroupId;
172
173 Aws::String m_dataflowEndpointGroupArn;
174
175 Aws::Vector<EndpointDetails> m_endpointsDetails;
176
178
179 int m_contactPrePassDurationSeconds{0};
180
181 int m_contactPostPassDurationSeconds{0};
182
183 Aws::String m_requestId;
184 Aws::Http::HttpResponseCode m_HttpResponseCode;
185 bool m_dataflowEndpointGroupIdHasBeenSet = false;
186 bool m_dataflowEndpointGroupArnHasBeenSet = false;
187 bool m_endpointsDetailsHasBeenSet = false;
188 bool m_tagsHasBeenSet = false;
189 bool m_contactPrePassDurationSecondsHasBeenSet = false;
190 bool m_contactPostPassDurationSecondsHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace GroundStation
196} // namespace Aws
GetDataflowEndpointGroupResult & WithDataflowEndpointGroupId(DataflowEndpointGroupIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetDataflowEndpointGroupResult & WithRequestId(RequestIdT &&value)
GetDataflowEndpointGroupResult & WithDataflowEndpointGroupArn(DataflowEndpointGroupArnT &&value)
AWS_GROUNDSTATION_API GetDataflowEndpointGroupResult()=default
AWS_GROUNDSTATION_API GetDataflowEndpointGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataflowEndpointGroupResult & WithContactPrePassDurationSeconds(int value)
GetDataflowEndpointGroupResult & AddEndpointsDetails(EndpointsDetailsT &&value)
GetDataflowEndpointGroupResult & WithEndpointsDetails(EndpointsDetailsT &&value)
GetDataflowEndpointGroupResult & WithContactPostPassDurationSeconds(int value)
GetDataflowEndpointGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< EndpointDetails > & GetEndpointsDetails() const
AWS_GROUNDSTATION_API GetDataflowEndpointGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue