AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
CreateDataflowEndpointGroupRequest.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/GroundStationRequest.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/EndpointDetails.h>
13
14#include <utility>
15
16namespace Aws {
17namespace GroundStation {
18namespace Model {
19
27 public:
28 AWS_GROUNDSTATION_API CreateDataflowEndpointGroupRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDataflowEndpointGroup"; }
35
36 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
37
39
49 inline const Aws::Vector<EndpointDetails>& GetEndpointDetails() const { return m_endpointDetails; }
50 inline bool EndpointDetailsHasBeenSet() const { return m_endpointDetailsHasBeenSet; }
51 template <typename EndpointDetailsT = Aws::Vector<EndpointDetails>>
52 void SetEndpointDetails(EndpointDetailsT&& value) {
53 m_endpointDetailsHasBeenSet = true;
54 m_endpointDetails = std::forward<EndpointDetailsT>(value);
55 }
56 template <typename EndpointDetailsT = Aws::Vector<EndpointDetails>>
58 SetEndpointDetails(std::forward<EndpointDetailsT>(value));
59 return *this;
60 }
61 template <typename EndpointDetailsT = EndpointDetails>
63 m_endpointDetailsHasBeenSet = true;
64 m_endpointDetails.emplace_back(std::forward<EndpointDetailsT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
74 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
75 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 void SetTags(TagsT&& value) {
77 m_tagsHasBeenSet = true;
78 m_tags = std::forward<TagsT>(value);
79 }
80 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 SetTags(std::forward<TagsT>(value));
83 return *this;
84 }
85 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
86 CreateDataflowEndpointGroupRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
87 m_tagsHasBeenSet = true;
88 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
89 return *this;
90 }
92
94
101 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
102 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
103 inline void SetContactPrePassDurationSeconds(int value) {
104 m_contactPrePassDurationSecondsHasBeenSet = true;
105 m_contactPrePassDurationSeconds = value;
106 }
109 return *this;
110 }
112
114
121 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
122 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
123 inline void SetContactPostPassDurationSeconds(int value) {
124 m_contactPostPassDurationSecondsHasBeenSet = true;
125 m_contactPostPassDurationSeconds = value;
126 }
129 return *this;
130 }
132 private:
133 Aws::Vector<EndpointDetails> m_endpointDetails;
134
136
137 int m_contactPrePassDurationSeconds{0};
138
139 int m_contactPostPassDurationSeconds{0};
140 bool m_endpointDetailsHasBeenSet = false;
141 bool m_tagsHasBeenSet = false;
142 bool m_contactPrePassDurationSecondsHasBeenSet = false;
143 bool m_contactPostPassDurationSecondsHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace GroundStation
148} // namespace Aws
AWS_GROUNDSTATION_API CreateDataflowEndpointGroupRequest()=default
CreateDataflowEndpointGroupRequest & WithContactPrePassDurationSeconds(int value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
CreateDataflowEndpointGroupRequest & WithEndpointDetails(EndpointDetailsT &&value)
CreateDataflowEndpointGroupRequest & WithContactPostPassDurationSeconds(int value)
CreateDataflowEndpointGroupRequest & AddEndpointDetails(EndpointDetailsT &&value)
CreateDataflowEndpointGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
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