AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
RejectConnectionInvitationRequest.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
12#include <utility>
13
14namespace Aws {
15namespace PartnerCentralAccount {
16namespace Model {
17
21 public:
22 AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "RejectConnectionInvitation"; }
29
30 AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override;
31
32 AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetCatalog() const { return m_catalog; }
39 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
40 template <typename CatalogT = Aws::String>
41 void SetCatalog(CatalogT&& value) {
42 m_catalogHasBeenSet = true;
43 m_catalog = std::forward<CatalogT>(value);
44 }
45 template <typename CatalogT = Aws::String>
47 SetCatalog(std::forward<CatalogT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template <typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) {
60 m_identifierHasBeenSet = true;
61 m_identifier = std::forward<IdentifierT>(value);
62 }
63 template <typename IdentifierT = Aws::String>
65 SetIdentifier(std::forward<IdentifierT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetClientToken() const { return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 template <typename ClientTokenT = Aws::String>
78 void SetClientToken(ClientTokenT&& value) {
79 m_clientTokenHasBeenSet = true;
80 m_clientToken = std::forward<ClientTokenT>(value);
81 }
82 template <typename ClientTokenT = Aws::String>
84 SetClientToken(std::forward<ClientTokenT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetReason() const { return m_reason; }
94 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
95 template <typename ReasonT = Aws::String>
96 void SetReason(ReasonT&& value) {
97 m_reasonHasBeenSet = true;
98 m_reason = std::forward<ReasonT>(value);
99 }
100 template <typename ReasonT = Aws::String>
102 SetReason(std::forward<ReasonT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_catalog;
108
109 Aws::String m_identifier;
110
112
113 Aws::String m_reason;
114 bool m_catalogHasBeenSet = false;
115 bool m_identifierHasBeenSet = false;
116 bool m_clientTokenHasBeenSet = true;
117 bool m_reasonHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace PartnerCentralAccount
122} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override
RejectConnectionInvitationRequest & WithClientToken(ClientTokenT &&value)
RejectConnectionInvitationRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationRequest()=default
AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String