AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RejectEngagementInvitationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace PartnerCentralSelling {
15namespace Model {
16
20 public:
21 AWS_PARTNERCENTRALSELLING_API RejectEngagementInvitationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RejectEngagementInvitation"; }
28
29 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
30
31 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
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
59 inline const Aws::String& GetIdentifier() const { return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 template <typename IdentifierT = Aws::String>
62 void SetIdentifier(IdentifierT&& value) {
63 m_identifierHasBeenSet = true;
64 m_identifier = std::forward<IdentifierT>(value);
65 }
66 template <typename IdentifierT = Aws::String>
68 SetIdentifier(std::forward<IdentifierT>(value));
69 return *this;
70 }
72
74
85 inline const Aws::String& GetRejectionReason() const { return m_rejectionReason; }
86 inline bool RejectionReasonHasBeenSet() const { return m_rejectionReasonHasBeenSet; }
87 template <typename RejectionReasonT = Aws::String>
88 void SetRejectionReason(RejectionReasonT&& value) {
89 m_rejectionReasonHasBeenSet = true;
90 m_rejectionReason = std::forward<RejectionReasonT>(value);
91 }
92 template <typename RejectionReasonT = Aws::String>
94 SetRejectionReason(std::forward<RejectionReasonT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_catalog;
100
101 Aws::String m_identifier;
102
103 Aws::String m_rejectionReason;
104 bool m_catalogHasBeenSet = false;
105 bool m_identifierHasBeenSet = false;
106 bool m_rejectionReasonHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace PartnerCentralSelling
111} // namespace Aws
RejectEngagementInvitationRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RejectEngagementInvitationRequest & WithRejectionReason(RejectionReasonT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
AWS_PARTNERCENTRALSELLING_API RejectEngagementInvitationRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String