AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CustomerProjectsContext.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/EngagementCustomer.h>
9#include <aws/partnercentral-selling/model/EngagementCustomerProjectDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
37 public:
38 AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext() = default;
39 AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
45 inline const EngagementCustomer& GetCustomer() const { return m_customer; }
46 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
47 template <typename CustomerT = EngagementCustomer>
48 void SetCustomer(CustomerT&& value) {
49 m_customerHasBeenSet = true;
50 m_customer = std::forward<CustomerT>(value);
51 }
52 template <typename CustomerT = EngagementCustomer>
54 SetCustomer(std::forward<CustomerT>(value));
55 return *this;
56 }
58
60
63 inline const EngagementCustomerProjectDetails& GetProject() const { return m_project; }
64 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
65 template <typename ProjectT = EngagementCustomerProjectDetails>
66 void SetProject(ProjectT&& value) {
67 m_projectHasBeenSet = true;
68 m_project = std::forward<ProjectT>(value);
69 }
70 template <typename ProjectT = EngagementCustomerProjectDetails>
72 SetProject(std::forward<ProjectT>(value));
73 return *this;
74 }
76 private:
77 EngagementCustomer m_customer;
78
80 bool m_customerHasBeenSet = false;
81 bool m_projectHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace PartnerCentralSelling
86} // namespace Aws
AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerProjectsContext & WithProject(ProjectT &&value)
const EngagementCustomerProjectDetails & GetProject() const
CustomerProjectsContext & WithCustomer(CustomerT &&value)
AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext()=default
AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue