AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
AcceptConnectionProposalRequest.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/interconnect/InterconnectRequest.h>
11#include <aws/interconnect/Interconnect_EXPORTS.h>
12#include <aws/interconnect/model/AttachPoint.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Interconnect {
18namespace Model {
19
23 public:
24 AWS_INTERCONNECT_API AcceptConnectionProposalRequest() = 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 "AcceptConnectionProposal"; }
31
32 AWS_INTERCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_INTERCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const AttachPoint& GetAttachPoint() const { return m_attachPoint; }
41 inline bool AttachPointHasBeenSet() const { return m_attachPointHasBeenSet; }
42 template <typename AttachPointT = AttachPoint>
43 void SetAttachPoint(AttachPointT&& value) {
44 m_attachPointHasBeenSet = true;
45 m_attachPoint = std::forward<AttachPointT>(value);
46 }
47 template <typename AttachPointT = AttachPoint>
49 SetAttachPoint(std::forward<AttachPointT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetActivationKey() const { return m_activationKey; }
62 inline bool ActivationKeyHasBeenSet() const { return m_activationKeyHasBeenSet; }
63 template <typename ActivationKeyT = Aws::String>
64 void SetActivationKey(ActivationKeyT&& value) {
65 m_activationKeyHasBeenSet = true;
66 m_activationKey = std::forward<ActivationKeyT>(value);
67 }
68 template <typename ActivationKeyT = Aws::String>
70 SetActivationKey(std::forward<ActivationKeyT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
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 AcceptConnectionProposalRequest& 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
121 inline const Aws::String& GetClientToken() const { return m_clientToken; }
122 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
123 template <typename ClientTokenT = Aws::String>
124 void SetClientToken(ClientTokenT&& value) {
125 m_clientTokenHasBeenSet = true;
126 m_clientToken = std::forward<ClientTokenT>(value);
127 }
128 template <typename ClientTokenT = Aws::String>
130 SetClientToken(std::forward<ClientTokenT>(value));
131 return *this;
132 }
134 private:
135 AttachPoint m_attachPoint;
136
137 Aws::String m_activationKey;
138
139 Aws::String m_description;
140
142
144 bool m_attachPointHasBeenSet = false;
145 bool m_activationKeyHasBeenSet = false;
146 bool m_descriptionHasBeenSet = false;
147 bool m_tagsHasBeenSet = false;
148 bool m_clientTokenHasBeenSet = true;
149};
150
151} // namespace Model
152} // namespace Interconnect
153} // namespace Aws
AcceptConnectionProposalRequest & WithAttachPoint(AttachPointT &&value)
AWS_INTERCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AcceptConnectionProposalRequest & WithClientToken(ClientTokenT &&value)
AcceptConnectionProposalRequest & WithActivationKey(ActivationKeyT &&value)
AWS_INTERCONNECT_API Aws::String SerializePayload() const override
AWS_INTERCONNECT_API AcceptConnectionProposalRequest()=default
AcceptConnectionProposalRequest & WithDescription(DescriptionT &&value)
AcceptConnectionProposalRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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