AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetDataflowEndpointGroupResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/groundstation/GroundStation_EXPORTS.h>
11#include <aws/groundstation/model/EndpointDetails.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GroundStation {
25namespace Model {
32 public:
33 AWS_GROUNDSTATION_API GetDataflowEndpointGroupResult() = default;
36
38
41 inline const Aws::String& GetDataflowEndpointGroupId() const { return m_dataflowEndpointGroupId; }
42 template <typename DataflowEndpointGroupIdT = Aws::String>
43 void SetDataflowEndpointGroupId(DataflowEndpointGroupIdT&& value) {
44 m_dataflowEndpointGroupIdHasBeenSet = true;
45 m_dataflowEndpointGroupId = std::forward<DataflowEndpointGroupIdT>(value);
46 }
47 template <typename DataflowEndpointGroupIdT = Aws::String>
49 SetDataflowEndpointGroupId(std::forward<DataflowEndpointGroupIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDataflowEndpointGroupArn() const { return m_dataflowEndpointGroupArn; }
59 template <typename DataflowEndpointGroupArnT = Aws::String>
60 void SetDataflowEndpointGroupArn(DataflowEndpointGroupArnT&& value) {
61 m_dataflowEndpointGroupArnHasBeenSet = true;
62 m_dataflowEndpointGroupArn = std::forward<DataflowEndpointGroupArnT>(value);
63 }
64 template <typename DataflowEndpointGroupArnT = Aws::String>
66 SetDataflowEndpointGroupArn(std::forward<DataflowEndpointGroupArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<EndpointDetails>& GetEndpointsDetails() const { return m_endpointsDetails; }
76 template <typename EndpointsDetailsT = Aws::Vector<EndpointDetails>>
77 void SetEndpointsDetails(EndpointsDetailsT&& value) {
78 m_endpointsDetailsHasBeenSet = true;
79 m_endpointsDetails = std::forward<EndpointsDetailsT>(value);
80 }
81 template <typename EndpointsDetailsT = Aws::Vector<EndpointDetails>>
83 SetEndpointsDetails(std::forward<EndpointsDetailsT>(value));
84 return *this;
85 }
86 template <typename EndpointsDetailsT = EndpointDetails>
88 m_endpointsDetailsHasBeenSet = true;
89 m_endpointsDetails.emplace_back(std::forward<EndpointsDetailsT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
99 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) {
101 m_tagsHasBeenSet = true;
102 m_tags = std::forward<TagsT>(value);
103 }
104 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 SetTags(std::forward<TagsT>(value));
107 return *this;
108 }
109 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
110 GetDataflowEndpointGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
111 m_tagsHasBeenSet = true;
112 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
113 return *this;
114 }
116
118
124 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
125 inline void SetContactPrePassDurationSeconds(int value) {
126 m_contactPrePassDurationSecondsHasBeenSet = true;
127 m_contactPrePassDurationSeconds = value;
128 }
131 return *this;
132 }
134
136
142 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
143 inline void SetContactPostPassDurationSeconds(int value) {
144 m_contactPostPassDurationSecondsHasBeenSet = true;
145 m_contactPostPassDurationSeconds = value;
146 }
149 return *this;
150 }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template <typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) {
158 m_requestIdHasBeenSet = true;
159 m_requestId = std::forward<RequestIdT>(value);
160 }
161 template <typename RequestIdT = Aws::String>
163 SetRequestId(std::forward<RequestIdT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_dataflowEndpointGroupId;
169
170 Aws::String m_dataflowEndpointGroupArn;
171
172 Aws::Vector<EndpointDetails> m_endpointsDetails;
173
175
176 int m_contactPrePassDurationSeconds{0};
177
178 int m_contactPostPassDurationSeconds{0};
179
180 Aws::String m_requestId;
181 bool m_dataflowEndpointGroupIdHasBeenSet = false;
182 bool m_dataflowEndpointGroupArnHasBeenSet = false;
183 bool m_endpointsDetailsHasBeenSet = false;
184 bool m_tagsHasBeenSet = false;
185 bool m_contactPrePassDurationSecondsHasBeenSet = false;
186 bool m_contactPostPassDurationSecondsHasBeenSet = false;
187 bool m_requestIdHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace GroundStation
192} // 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