AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
RegisterDestinationEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconnect/MediaConnectRequest.h>
11#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
12#include <aws/mediaconnect/model/DestinationEndpointConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace MediaConnect {
18namespace Model {
19
23 public:
24 AWS_MEDIACONNECT_API RegisterDestinationEndpointRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RegisterDestinationEndpoint"; }
31
32 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline const DestinationEndpointConfiguration& GetConfiguration() const { return m_configuration; }
57 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
58 template <typename ConfigurationT = DestinationEndpointConfiguration>
59 void SetConfiguration(ConfigurationT&& value) {
60 m_configurationHasBeenSet = true;
61 m_configuration = std::forward<ConfigurationT>(value);
62 }
63 template <typename ConfigurationT = DestinationEndpointConfiguration>
65 SetConfiguration(std::forward<ConfigurationT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetRegionName() const { return m_regionName; }
76 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
77 template <typename RegionNameT = Aws::String>
78 void SetRegionName(RegionNameT&& value) {
79 m_regionNameHasBeenSet = true;
80 m_regionName = std::forward<RegionNameT>(value);
81 }
82 template <typename RegionNameT = Aws::String>
84 SetRegionName(std::forward<RegionNameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags = std::forward<TagsT>(value);
100 }
101 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 SetTags(std::forward<TagsT>(value));
104 return *this;
105 }
106 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
107 RegisterDestinationEndpointRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
108 m_tagsHasBeenSet = true;
109 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
110 return *this;
111 }
113
115
120 inline const Aws::String& GetClientToken() const { return m_clientToken; }
121 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
122 template <typename ClientTokenT = Aws::String>
123 void SetClientToken(ClientTokenT&& value) {
124 m_clientTokenHasBeenSet = true;
125 m_clientToken = std::forward<ClientTokenT>(value);
126 }
127 template <typename ClientTokenT = Aws::String>
129 SetClientToken(std::forward<ClientTokenT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_description;
135
136 DestinationEndpointConfiguration m_configuration;
137
138 Aws::String m_regionName;
139
141
143 bool m_descriptionHasBeenSet = false;
144 bool m_configurationHasBeenSet = false;
145 bool m_regionNameHasBeenSet = false;
146 bool m_tagsHasBeenSet = false;
147 bool m_clientTokenHasBeenSet = true;
148};
149
150} // namespace Model
151} // namespace MediaConnect
152} // namespace Aws
RegisterDestinationEndpointRequest & WithClientToken(ClientTokenT &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
RegisterDestinationEndpointRequest & WithConfiguration(ConfigurationT &&value)
AWS_MEDIACONNECT_API RegisterDestinationEndpointRequest()=default
RegisterDestinationEndpointRequest & WithDescription(DescriptionT &&value)
RegisterDestinationEndpointRequest & WithRegionName(RegionNameT &&value)
RegisterDestinationEndpointRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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