AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AssignOpportunityRequest.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/AssigneeContact.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PartnerCentralSelling {
16namespace Model {
17
21 public:
22 AWS_PARTNERCENTRALSELLING_API AssignOpportunityRequest() = 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 "AssignOpportunity"; }
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
63 inline const Aws::String& GetIdentifier() const { return m_identifier; }
64 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
65 template <typename IdentifierT = Aws::String>
66 void SetIdentifier(IdentifierT&& value) {
67 m_identifierHasBeenSet = true;
68 m_identifier = std::forward<IdentifierT>(value);
69 }
70 template <typename IdentifierT = Aws::String>
72 SetIdentifier(std::forward<IdentifierT>(value));
73 return *this;
74 }
76
78
84 inline const AssigneeContact& GetAssignee() const { return m_assignee; }
85 inline bool AssigneeHasBeenSet() const { return m_assigneeHasBeenSet; }
86 template <typename AssigneeT = AssigneeContact>
87 void SetAssignee(AssigneeT&& value) {
88 m_assigneeHasBeenSet = true;
89 m_assignee = std::forward<AssigneeT>(value);
90 }
91 template <typename AssigneeT = AssigneeContact>
93 SetAssignee(std::forward<AssigneeT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_catalog;
99
100 Aws::String m_identifier;
101
102 AssigneeContact m_assignee;
103 bool m_catalogHasBeenSet = false;
104 bool m_identifierHasBeenSet = false;
105 bool m_assigneeHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace PartnerCentralSelling
110} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PARTNERCENTRALSELLING_API AssignOpportunityRequest()=default
AssignOpportunityRequest & WithIdentifier(IdentifierT &&value)
AssignOpportunityRequest & WithAssignee(AssigneeT &&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