AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SubmitOpportunityRequest.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/SalesInvolvementType.h>
11#include <aws/partnercentral-selling/model/Visibility.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PartnerCentralSelling
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PARTNERCENTRALSELLING_API SubmitOpportunityRequest() = 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 "SubmitOpportunity"; }
33
34 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
35
36 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
46 inline const Aws::String& GetCatalog() const { return m_catalog; }
47 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
48 template<typename CatalogT = Aws::String>
49 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
50 template<typename CatalogT = Aws::String>
51 SubmitOpportunityRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
53
55
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) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
63 template<typename IdentifierT = Aws::String>
64 SubmitOpportunityRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
66
68
77 inline SalesInvolvementType GetInvolvementType() const { return m_involvementType; }
78 inline bool InvolvementTypeHasBeenSet() const { return m_involvementTypeHasBeenSet; }
79 inline void SetInvolvementType(SalesInvolvementType value) { m_involvementTypeHasBeenSet = true; m_involvementType = value; }
82
84
91 inline Visibility GetVisibility() const { return m_visibility; }
92 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
93 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
94 inline SubmitOpportunityRequest& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
96 private:
97
98 Aws::String m_catalog;
99 bool m_catalogHasBeenSet = false;
100
101 Aws::String m_identifier;
102 bool m_identifierHasBeenSet = false;
103
105 bool m_involvementTypeHasBeenSet = false;
106
107 Visibility m_visibility{Visibility::NOT_SET};
108 bool m_visibilityHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace PartnerCentralSelling
113} // 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