AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetOpportunityRequest.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 GetOpportunityRequest() = 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 "GetOpportunity"; }
28
29 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
30
31 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
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
60 inline const Aws::String& GetIdentifier() const { return m_identifier; }
61 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
62 template <typename IdentifierT = Aws::String>
63 void SetIdentifier(IdentifierT&& value) {
64 m_identifierHasBeenSet = true;
65 m_identifier = std::forward<IdentifierT>(value);
66 }
67 template <typename IdentifierT = Aws::String>
68 GetOpportunityRequest& WithIdentifier(IdentifierT&& value) {
69 SetIdentifier(std::forward<IdentifierT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_catalog;
75
76 Aws::String m_identifier;
77 bool m_catalogHasBeenSet = false;
78 bool m_identifierHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PartnerCentralSelling
83} // namespace Aws
AWS_PARTNERCENTRALSELLING_API GetOpportunityRequest()=default
GetOpportunityRequest & WithCatalog(CatalogT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetOpportunityRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String