AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AssignOpportunityRequest.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/partnercentral-selling/model/AssigneeContact.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PartnerCentralSelling
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PARTNERCENTRALSELLING_API AssignOpportunityRequest() = 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 "AssignOpportunity"; }
32
33 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
34
35 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
45 inline const AssigneeContact& GetAssignee() const { return m_assignee; }
46 inline bool AssigneeHasBeenSet() const { return m_assigneeHasBeenSet; }
47 template<typename AssigneeT = AssigneeContact>
48 void SetAssignee(AssigneeT&& value) { m_assigneeHasBeenSet = true; m_assignee = std::forward<AssigneeT>(value); }
49 template<typename AssigneeT = AssigneeContact>
50 AssignOpportunityRequest& WithAssignee(AssigneeT&& value) { SetAssignee(std::forward<AssigneeT>(value)); return *this;}
52
54
62 inline const Aws::String& GetCatalog() const { return m_catalog; }
63 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
64 template<typename CatalogT = Aws::String>
65 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
66 template<typename CatalogT = Aws::String>
67 AssignOpportunityRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
69
71
76 inline const Aws::String& GetIdentifier() const { return m_identifier; }
77 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
78 template<typename IdentifierT = Aws::String>
79 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
80 template<typename IdentifierT = Aws::String>
81 AssignOpportunityRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
83 private:
84
85 AssigneeContact m_assignee;
86 bool m_assigneeHasBeenSet = false;
87
88 Aws::String m_catalog;
89 bool m_catalogHasBeenSet = false;
90
91 Aws::String m_identifier;
92 bool m_identifierHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace PartnerCentralSelling
97} // 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