AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DisassociateOpportunityRequest.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/RelatedEntityType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PartnerCentralSelling
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PARTNERCENTRALSELLING_API DisassociateOpportunityRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateOpportunity"; }
32
33 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
34
35 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
47 inline const Aws::String& GetCatalog() const { return m_catalog; }
48 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
49 template<typename CatalogT = Aws::String>
50 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
51 template<typename CatalogT = Aws::String>
52 DisassociateOpportunityRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
54
56
63 inline const Aws::String& GetOpportunityIdentifier() const { return m_opportunityIdentifier; }
64 inline bool OpportunityIdentifierHasBeenSet() const { return m_opportunityIdentifierHasBeenSet; }
65 template<typename OpportunityIdentifierT = Aws::String>
66 void SetOpportunityIdentifier(OpportunityIdentifierT&& value) { m_opportunityIdentifierHasBeenSet = true; m_opportunityIdentifier = std::forward<OpportunityIdentifierT>(value); }
67 template<typename OpportunityIdentifierT = Aws::String>
68 DisassociateOpportunityRequest& WithOpportunityIdentifier(OpportunityIdentifierT&& value) { SetOpportunityIdentifier(std::forward<OpportunityIdentifierT>(value)); return *this;}
70
72
85 inline const Aws::String& GetRelatedEntityIdentifier() const { return m_relatedEntityIdentifier; }
86 inline bool RelatedEntityIdentifierHasBeenSet() const { return m_relatedEntityIdentifierHasBeenSet; }
87 template<typename RelatedEntityIdentifierT = Aws::String>
88 void SetRelatedEntityIdentifier(RelatedEntityIdentifierT&& value) { m_relatedEntityIdentifierHasBeenSet = true; m_relatedEntityIdentifier = std::forward<RelatedEntityIdentifierT>(value); }
89 template<typename RelatedEntityIdentifierT = Aws::String>
90 DisassociateOpportunityRequest& WithRelatedEntityIdentifier(RelatedEntityIdentifierT&& value) { SetRelatedEntityIdentifier(std::forward<RelatedEntityIdentifierT>(value)); return *this;}
92
94
104 inline RelatedEntityType GetRelatedEntityType() const { return m_relatedEntityType; }
105 inline bool RelatedEntityTypeHasBeenSet() const { return m_relatedEntityTypeHasBeenSet; }
106 inline void SetRelatedEntityType(RelatedEntityType value) { m_relatedEntityTypeHasBeenSet = true; m_relatedEntityType = value; }
109 private:
110
111 Aws::String m_catalog;
112 bool m_catalogHasBeenSet = false;
113
114 Aws::String m_opportunityIdentifier;
115 bool m_opportunityIdentifierHasBeenSet = false;
116
117 Aws::String m_relatedEntityIdentifier;
118 bool m_relatedEntityIdentifierHasBeenSet = false;
119
121 bool m_relatedEntityTypeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace PartnerCentralSelling
126} // 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