AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateConnectionInvitationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccountRequest.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/ConnectionType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PartnerCentralAccount {
17namespace Model {
18
22 public:
23 AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateConnectionInvitation"; }
30
31 AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override;
32
33 AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetCatalog() const { return m_catalog; }
40 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
41 template <typename CatalogT = Aws::String>
42 void SetCatalog(CatalogT&& value) {
43 m_catalogHasBeenSet = true;
44 m_catalog = std::forward<CatalogT>(value);
45 }
46 template <typename CatalogT = Aws::String>
48 SetCatalog(std::forward<CatalogT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetClientToken() const { return m_clientToken; }
59 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
60 template <typename ClientTokenT = Aws::String>
61 void SetClientToken(ClientTokenT&& value) {
62 m_clientTokenHasBeenSet = true;
63 m_clientToken = std::forward<ClientTokenT>(value);
64 }
65 template <typename ClientTokenT = Aws::String>
67 SetClientToken(std::forward<ClientTokenT>(value));
68 return *this;
69 }
71
73
77 inline ConnectionType GetConnectionType() const { return m_connectionType; }
78 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
79 inline void SetConnectionType(ConnectionType value) {
80 m_connectionTypeHasBeenSet = true;
81 m_connectionType = value;
82 }
84 SetConnectionType(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetEmail() const { return m_email; }
94 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
95 template <typename EmailT = Aws::String>
96 void SetEmail(EmailT&& value) {
97 m_emailHasBeenSet = true;
98 m_email = std::forward<EmailT>(value);
99 }
100 template <typename EmailT = Aws::String>
102 SetEmail(std::forward<EmailT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetMessage() const { return m_message; }
112 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
113 template <typename MessageT = Aws::String>
114 void SetMessage(MessageT&& value) {
115 m_messageHasBeenSet = true;
116 m_message = std::forward<MessageT>(value);
117 }
118 template <typename MessageT = Aws::String>
120 SetMessage(std::forward<MessageT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetName() const { return m_name; }
130 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 template <typename NameT = Aws::String>
132 void SetName(NameT&& value) {
133 m_nameHasBeenSet = true;
134 m_name = std::forward<NameT>(value);
135 }
136 template <typename NameT = Aws::String>
138 SetName(std::forward<NameT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetReceiverIdentifier() const { return m_receiverIdentifier; }
148 inline bool ReceiverIdentifierHasBeenSet() const { return m_receiverIdentifierHasBeenSet; }
149 template <typename ReceiverIdentifierT = Aws::String>
150 void SetReceiverIdentifier(ReceiverIdentifierT&& value) {
151 m_receiverIdentifierHasBeenSet = true;
152 m_receiverIdentifier = std::forward<ReceiverIdentifierT>(value);
153 }
154 template <typename ReceiverIdentifierT = Aws::String>
156 SetReceiverIdentifier(std::forward<ReceiverIdentifierT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_catalog;
162
164
165 ConnectionType m_connectionType{ConnectionType::NOT_SET};
166
167 Aws::String m_email;
168
169 Aws::String m_message;
170
171 Aws::String m_name;
172
173 Aws::String m_receiverIdentifier;
174 bool m_catalogHasBeenSet = false;
175 bool m_clientTokenHasBeenSet = true;
176 bool m_connectionTypeHasBeenSet = false;
177 bool m_emailHasBeenSet = false;
178 bool m_messageHasBeenSet = false;
179 bool m_nameHasBeenSet = false;
180 bool m_receiverIdentifierHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace PartnerCentralAccount
185} // namespace Aws
CreateConnectionInvitationRequest & WithReceiverIdentifier(ReceiverIdentifierT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override
CreateConnectionInvitationRequest & WithConnectionType(ConnectionType value)
AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateConnectionInvitationRequest & WithClientToken(ClientTokenT &&value)
AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String