AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DisassociateOpportunityRequest.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#include <aws/partnercentral-selling/model/RelatedEntityType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PartnerCentralSelling {
16namespace Model {
17
21 public:
22 AWS_PARTNERCENTRALSELLING_API DisassociateOpportunityRequest() = 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 "DisassociateOpportunity"; }
29
30 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
31
32 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
43 inline const Aws::String& GetCatalog() const { return m_catalog; }
44 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
45 template <typename CatalogT = Aws::String>
46 void SetCatalog(CatalogT&& value) {
47 m_catalogHasBeenSet = true;
48 m_catalog = std::forward<CatalogT>(value);
49 }
50 template <typename CatalogT = Aws::String>
52 SetCatalog(std::forward<CatalogT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetOpportunityIdentifier() const { return m_opportunityIdentifier; }
66 inline bool OpportunityIdentifierHasBeenSet() const { return m_opportunityIdentifierHasBeenSet; }
67 template <typename OpportunityIdentifierT = Aws::String>
68 void SetOpportunityIdentifier(OpportunityIdentifierT&& value) {
69 m_opportunityIdentifierHasBeenSet = true;
70 m_opportunityIdentifier = std::forward<OpportunityIdentifierT>(value);
71 }
72 template <typename OpportunityIdentifierT = Aws::String>
74 SetOpportunityIdentifier(std::forward<OpportunityIdentifierT>(value));
75 return *this;
76 }
78
80
90 inline RelatedEntityType GetRelatedEntityType() const { return m_relatedEntityType; }
91 inline bool RelatedEntityTypeHasBeenSet() const { return m_relatedEntityTypeHasBeenSet; }
93 m_relatedEntityTypeHasBeenSet = true;
94 m_relatedEntityType = value;
95 }
98 return *this;
99 }
101
103
116 inline const Aws::String& GetRelatedEntityIdentifier() const { return m_relatedEntityIdentifier; }
117 inline bool RelatedEntityIdentifierHasBeenSet() const { return m_relatedEntityIdentifierHasBeenSet; }
118 template <typename RelatedEntityIdentifierT = Aws::String>
119 void SetRelatedEntityIdentifier(RelatedEntityIdentifierT&& value) {
120 m_relatedEntityIdentifierHasBeenSet = true;
121 m_relatedEntityIdentifier = std::forward<RelatedEntityIdentifierT>(value);
122 }
123 template <typename RelatedEntityIdentifierT = Aws::String>
125 SetRelatedEntityIdentifier(std::forward<RelatedEntityIdentifierT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_catalog;
131
132 Aws::String m_opportunityIdentifier;
133
135
136 Aws::String m_relatedEntityIdentifier;
137 bool m_catalogHasBeenSet = false;
138 bool m_opportunityIdentifierHasBeenSet = false;
139 bool m_relatedEntityTypeHasBeenSet = false;
140 bool m_relatedEntityIdentifierHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace PartnerCentralSelling
145} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateOpportunityRequest & WithRelatedEntityType(RelatedEntityType value)
DisassociateOpportunityRequest & WithOpportunityIdentifier(OpportunityIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API DisassociateOpportunityRequest()=default
DisassociateOpportunityRequest & WithRelatedEntityIdentifier(RelatedEntityIdentifierT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String