AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SubmitOpportunityRequest.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/SalesInvolvementType.h>
11#include <aws/partnercentral-selling/model/Visibility.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PartnerCentralSelling {
17namespace Model {
18
22 public:
23 AWS_PARTNERCENTRALSELLING_API SubmitOpportunityRequest() = 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 "SubmitOpportunity"; }
30
31 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
32
33 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
42 inline const Aws::String& GetCatalog() const { return m_catalog; }
43 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
44 template <typename CatalogT = Aws::String>
45 void SetCatalog(CatalogT&& value) {
46 m_catalogHasBeenSet = true;
47 m_catalog = std::forward<CatalogT>(value);
48 }
49 template <typename CatalogT = Aws::String>
51 SetCatalog(std::forward<CatalogT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetIdentifier() const { return m_identifier; }
62 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
63 template <typename IdentifierT = Aws::String>
64 void SetIdentifier(IdentifierT&& value) {
65 m_identifierHasBeenSet = true;
66 m_identifier = std::forward<IdentifierT>(value);
67 }
68 template <typename IdentifierT = Aws::String>
70 SetIdentifier(std::forward<IdentifierT>(value));
71 return *this;
72 }
74
76
85 inline SalesInvolvementType GetInvolvementType() const { return m_involvementType; }
86 inline bool InvolvementTypeHasBeenSet() const { return m_involvementTypeHasBeenSet; }
88 m_involvementTypeHasBeenSet = true;
89 m_involvementType = value;
90 }
92 SetInvolvementType(value);
93 return *this;
94 }
96
98
105 inline Visibility GetVisibility() const { return m_visibility; }
106 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
107 inline void SetVisibility(Visibility value) {
108 m_visibilityHasBeenSet = true;
109 m_visibility = value;
110 }
112 SetVisibility(value);
113 return *this;
114 }
116 private:
117 Aws::String m_catalog;
118
119 Aws::String m_identifier;
120
122
123 Visibility m_visibility{Visibility::NOT_SET};
124 bool m_catalogHasBeenSet = false;
125 bool m_identifierHasBeenSet = false;
126 bool m_involvementTypeHasBeenSet = false;
127 bool m_visibilityHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace PartnerCentralSelling
132} // namespace Aws
SubmitOpportunityRequest & WithVisibility(Visibility value)
AWS_PARTNERCENTRALSELLING_API SubmitOpportunityRequest()=default
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SubmitOpportunityRequest & WithInvolvementType(SalesInvolvementType value)
SubmitOpportunityRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String