AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
26 public:
27 AWS_GROUNDSTATION_API CreateDataflowEndpointGroupRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDataflowEndpointGroup"; }
34
35 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
36
38
48 inline const Aws::Vector<EndpointDetails>& GetEndpointDetails() const { return m_endpointDetails; }
49 inline bool EndpointDetailsHasBeenSet() const { return m_endpointDetailsHasBeenSet; }
50 template <typename EndpointDetailsT = Aws::Vector<EndpointDetails>>
51 void SetEndpointDetails(EndpointDetailsT&& value) {
52 m_endpointDetailsHasBeenSet = true;
53 m_endpointDetails = std::forward<EndpointDetailsT>(value);
54 }
55 template <typename EndpointDetailsT = Aws::Vector<EndpointDetails>>
57 SetEndpointDetails(std::forward<EndpointDetailsT>(value));
58 return *this;
59 }
60 template <typename EndpointDetailsT = EndpointDetails>
62 m_endpointDetailsHasBeenSet = true;
63 m_endpointDetails.emplace_back(std::forward<EndpointDetailsT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
73 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
74 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
75 void SetTags(TagsT&& value) {
76 m_tagsHasBeenSet = true;
77 m_tags = std::forward<TagsT>(value);
78 }
79 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 SetTags(std::forward<TagsT>(value));
82 return *this;
83 }
84 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
85 CreateDataflowEndpointGroupRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
86 m_tagsHasBeenSet = true;
87 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
88 return *this;
89 }
91
93
100 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
101 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
102 inline void SetContactPrePassDurationSeconds(int value) {
103 m_contactPrePassDurationSecondsHasBeenSet = true;
104 m_contactPrePassDurationSeconds = value;
105 }
108 return *this;
109 }
111
113
120 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
121 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
122 inline void SetContactPostPassDurationSeconds(int value) {
123 m_contactPostPassDurationSecondsHasBeenSet = true;
124 m_contactPostPassDurationSeconds = value;
125 }
128 return *this;
129 }
131 private:
132 Aws::Vector<EndpointDetails> m_endpointDetails;
133
135
136 int m_contactPrePassDurationSeconds{0};
137
138 int m_contactPostPassDurationSeconds{0};
139 bool m_endpointDetailsHasBeenSet = false;
140 bool m_tagsHasBeenSet = false;
141 bool m_contactPrePassDurationSecondsHasBeenSet = false;
142 bool m_contactPostPassDurationSecondsHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace GroundStation
147} // 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