AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateEngagementInvitationRequest.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-selling/PartnerCentralSellingRequest.h>
10#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
11#include <aws/partnercentral-selling/model/Invitation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PartnerCentralSelling {
17namespace Model {
18
22 public:
23 AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationRequest() = 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 "CreateEngagementInvitation"; }
30
31 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
32
33 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline const Aws::String& GetCatalog() const { return m_catalog; }
42 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
43 template <typename CatalogT = Aws::String>
44 void SetCatalog(CatalogT&& value) {
45 m_catalogHasBeenSet = true;
46 m_catalog = std::forward<CatalogT>(value);
47 }
48 template <typename CatalogT = Aws::String>
50 SetCatalog(std::forward<CatalogT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetClientToken() const { return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 template <typename ClientTokenT = Aws::String>
64 void SetClientToken(ClientTokenT&& value) {
65 m_clientTokenHasBeenSet = true;
66 m_clientToken = std::forward<ClientTokenT>(value);
67 }
68 template <typename ClientTokenT = Aws::String>
70 SetClientToken(std::forward<ClientTokenT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetEngagementIdentifier() const { return m_engagementIdentifier; }
82 inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; }
83 template <typename EngagementIdentifierT = Aws::String>
84 void SetEngagementIdentifier(EngagementIdentifierT&& value) {
85 m_engagementIdentifierHasBeenSet = true;
86 m_engagementIdentifier = std::forward<EngagementIdentifierT>(value);
87 }
88 template <typename EngagementIdentifierT = Aws::String>
90 SetEngagementIdentifier(std::forward<EngagementIdentifierT>(value));
91 return *this;
92 }
94
96
104 inline const Invitation& GetInvitation() const { return m_invitation; }
105 inline bool InvitationHasBeenSet() const { return m_invitationHasBeenSet; }
106 template <typename InvitationT = Invitation>
107 void SetInvitation(InvitationT&& value) {
108 m_invitationHasBeenSet = true;
109 m_invitation = std::forward<InvitationT>(value);
110 }
111 template <typename InvitationT = Invitation>
113 SetInvitation(std::forward<InvitationT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_catalog;
119
121
122 Aws::String m_engagementIdentifier;
123
124 Invitation m_invitation;
125 bool m_catalogHasBeenSet = false;
126 bool m_clientTokenHasBeenSet = true;
127 bool m_engagementIdentifierHasBeenSet = false;
128 bool m_invitationHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace PartnerCentralSelling
133} // namespace Aws
CreateEngagementInvitationRequest & WithEngagementIdentifier(EngagementIdentifierT &&value)
CreateEngagementInvitationRequest & WithInvitation(InvitationT &&value)
CreateEngagementInvitationRequest & WithClientToken(ClientTokenT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationRequest()=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