AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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 {
34 public:
35 AWS_GROUNDSTATION_API GetDataflowEndpointGroupResult() = default;
38
40
43 inline const Aws::String& GetDataflowEndpointGroupId() const { return m_dataflowEndpointGroupId; }
44 template <typename DataflowEndpointGroupIdT = Aws::String>
45 void SetDataflowEndpointGroupId(DataflowEndpointGroupIdT&& value) {
46 m_dataflowEndpointGroupIdHasBeenSet = true;
47 m_dataflowEndpointGroupId = std::forward<DataflowEndpointGroupIdT>(value);
48 }
49 template <typename DataflowEndpointGroupIdT = Aws::String>
51 SetDataflowEndpointGroupId(std::forward<DataflowEndpointGroupIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDataflowEndpointGroupArn() const { return m_dataflowEndpointGroupArn; }
61 template <typename DataflowEndpointGroupArnT = Aws::String>
62 void SetDataflowEndpointGroupArn(DataflowEndpointGroupArnT&& value) {
63 m_dataflowEndpointGroupArnHasBeenSet = true;
64 m_dataflowEndpointGroupArn = std::forward<DataflowEndpointGroupArnT>(value);
65 }
66 template <typename DataflowEndpointGroupArnT = Aws::String>
68 SetDataflowEndpointGroupArn(std::forward<DataflowEndpointGroupArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<EndpointDetails>& GetEndpointsDetails() const { return m_endpointsDetails; }
78 template <typename EndpointsDetailsT = Aws::Vector<EndpointDetails>>
79 void SetEndpointsDetails(EndpointsDetailsT&& value) {
80 m_endpointsDetailsHasBeenSet = true;
81 m_endpointsDetails = std::forward<EndpointsDetailsT>(value);
82 }
83 template <typename EndpointsDetailsT = Aws::Vector<EndpointDetails>>
85 SetEndpointsDetails(std::forward<EndpointsDetailsT>(value));
86 return *this;
87 }
88 template <typename EndpointsDetailsT = EndpointDetails>
90 m_endpointsDetailsHasBeenSet = true;
91 m_endpointsDetails.emplace_back(std::forward<EndpointsDetailsT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
101 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 void SetTags(TagsT&& value) {
103 m_tagsHasBeenSet = true;
104 m_tags = std::forward<TagsT>(value);
105 }
106 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 SetTags(std::forward<TagsT>(value));
109 return *this;
110 }
111 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
112 GetDataflowEndpointGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
113 m_tagsHasBeenSet = true;
114 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
115 return *this;
116 }
118
120
126 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
127 inline void SetContactPrePassDurationSeconds(int value) {
128 m_contactPrePassDurationSecondsHasBeenSet = true;
129 m_contactPrePassDurationSeconds = value;
130 }
133 return *this;
134 }
136
138
144 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
145 inline void SetContactPostPassDurationSeconds(int value) {
146 m_contactPostPassDurationSecondsHasBeenSet = true;
147 m_contactPostPassDurationSeconds = value;
148 }
151 return *this;
152 }
154
156
157 inline const Aws::String& GetRequestId() const { return m_requestId; }
158 template <typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) {
160 m_requestIdHasBeenSet = true;
161 m_requestId = std::forward<RequestIdT>(value);
162 }
163 template <typename RequestIdT = Aws::String>
165 SetRequestId(std::forward<RequestIdT>(value));
166 return *this;
167 }
169 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
170
171 private:
172 Aws::String m_dataflowEndpointGroupId;
173
174 Aws::String m_dataflowEndpointGroupArn;
175
176 Aws::Vector<EndpointDetails> m_endpointsDetails;
177
179
180 int m_contactPrePassDurationSeconds{0};
181
182 int m_contactPostPassDurationSeconds{0};
183
184 Aws::String m_requestId;
185 Aws::Http::HttpResponseCode m_HttpResponseCode;
186 bool m_dataflowEndpointGroupIdHasBeenSet = false;
187 bool m_dataflowEndpointGroupArnHasBeenSet = false;
188 bool m_endpointsDetailsHasBeenSet = false;
189 bool m_tagsHasBeenSet = false;
190 bool m_contactPrePassDurationSecondsHasBeenSet = false;
191 bool m_contactPostPassDurationSecondsHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace GroundStation
197} // 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