AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateEngagementInvitationRequest.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/partnercentral-selling/model/Invitation.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace PartnerCentralSelling
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PARTNERCENTRALSELLING_API CreateEngagementInvitationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateEngagementInvitation"; }
33
34 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
35
36 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline const Aws::String& GetCatalog() const { return m_catalog; }
46 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
47 template<typename CatalogT = Aws::String>
48 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
49 template<typename CatalogT = Aws::String>
50 CreateEngagementInvitationRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
52
54
59 inline const Aws::String& GetClientToken() const { return m_clientToken; }
60 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 template<typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
63 template<typename ClientTokenT = Aws::String>
64 CreateEngagementInvitationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
66
68
73 inline const Aws::String& GetEngagementIdentifier() const { return m_engagementIdentifier; }
74 inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; }
75 template<typename EngagementIdentifierT = Aws::String>
76 void SetEngagementIdentifier(EngagementIdentifierT&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::forward<EngagementIdentifierT>(value); }
77 template<typename EngagementIdentifierT = Aws::String>
78 CreateEngagementInvitationRequest& WithEngagementIdentifier(EngagementIdentifierT&& value) { SetEngagementIdentifier(std::forward<EngagementIdentifierT>(value)); return *this;}
80
82
90 inline const Invitation& GetInvitation() const { return m_invitation; }
91 inline bool InvitationHasBeenSet() const { return m_invitationHasBeenSet; }
92 template<typename InvitationT = Invitation>
93 void SetInvitation(InvitationT&& value) { m_invitationHasBeenSet = true; m_invitation = std::forward<InvitationT>(value); }
94 template<typename InvitationT = Invitation>
95 CreateEngagementInvitationRequest& WithInvitation(InvitationT&& value) { SetInvitation(std::forward<InvitationT>(value)); return *this;}
97 private:
98
99 Aws::String m_catalog;
100 bool m_catalogHasBeenSet = false;
101
103 bool m_clientTokenHasBeenSet = true;
104
105 Aws::String m_engagementIdentifier;
106 bool m_engagementIdentifierHasBeenSet = false;
107
108 Invitation m_invitation;
109 bool m_invitationHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace PartnerCentralSelling
114} // 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