AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDataflowEndpointGroupRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/groundstation/model/EndpointDetails.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GroundStation
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_GROUNDSTATION_API CreateDataflowEndpointGroupRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateDataflowEndpointGroup"; }
37
38 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
39
40
42
48 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
49 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
50 inline void SetContactPostPassDurationSeconds(int value) { m_contactPostPassDurationSecondsHasBeenSet = true; m_contactPostPassDurationSeconds = value; }
53
55
61 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
62 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
63 inline void SetContactPrePassDurationSeconds(int value) { m_contactPrePassDurationSecondsHasBeenSet = true; m_contactPrePassDurationSeconds = value; }
66
68
79 inline const Aws::Vector<EndpointDetails>& GetEndpointDetails() const { return m_endpointDetails; }
80 inline bool EndpointDetailsHasBeenSet() const { return m_endpointDetailsHasBeenSet; }
81 template<typename EndpointDetailsT = Aws::Vector<EndpointDetails>>
82 void SetEndpointDetails(EndpointDetailsT&& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails = std::forward<EndpointDetailsT>(value); }
83 template<typename EndpointDetailsT = Aws::Vector<EndpointDetails>>
84 CreateDataflowEndpointGroupRequest& WithEndpointDetails(EndpointDetailsT&& value) { SetEndpointDetails(std::forward<EndpointDetailsT>(value)); return *this;}
85 template<typename EndpointDetailsT = EndpointDetails>
86 CreateDataflowEndpointGroupRequest& AddEndpointDetails(EndpointDetailsT&& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails.emplace_back(std::forward<EndpointDetailsT>(value)); return *this; }
88
90
93 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
97 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 CreateDataflowEndpointGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
99 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
100 CreateDataflowEndpointGroupRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
101 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
102 }
104 private:
105
106 int m_contactPostPassDurationSeconds{0};
107 bool m_contactPostPassDurationSecondsHasBeenSet = false;
108
109 int m_contactPrePassDurationSeconds{0};
110 bool m_contactPrePassDurationSecondsHasBeenSet = false;
111
112 Aws::Vector<EndpointDetails> m_endpointDetails;
113 bool m_endpointDetailsHasBeenSet = false;
114
116 bool m_tagsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace GroundStation
121} // 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