AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext() = default;
44 AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext(Aws::Utils::Json::JsonView jsonValue);
45 AWS_PARTNERCENTRALSELLING_API CustomerProjectsContext& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
51 inline const EngagementCustomer& GetCustomer() const { return m_customer; }
52 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
53 template<typename CustomerT = EngagementCustomer>
54 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet = true; m_customer = std::forward<CustomerT>(value); }
55 template<typename CustomerT = EngagementCustomer>
56 CustomerProjectsContext& WithCustomer(CustomerT&& value) { SetCustomer(std::forward<CustomerT>(value)); return *this;}
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) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
67 template<typename ProjectT = EngagementCustomerProjectDetails>
68 CustomerProjectsContext& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
70 private:
71
72 EngagementCustomer m_customer;
73 bool m_customerHasBeenSet = false;
74
76 bool m_projectHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace PartnerCentralSelling
81} // 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