AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EngagementContextPayload.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/CustomerProjectsContext.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API EngagementContextPayload() = default;
37 AWS_PARTNERCENTRALSELLING_API EngagementContextPayload(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API EngagementContextPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const CustomerProjectsContext& GetCustomerProject() const { return m_customerProject; }
49 inline bool CustomerProjectHasBeenSet() const { return m_customerProjectHasBeenSet; }
50 template<typename CustomerProjectT = CustomerProjectsContext>
51 void SetCustomerProject(CustomerProjectT&& value) { m_customerProjectHasBeenSet = true; m_customerProject = std::forward<CustomerProjectT>(value); }
52 template<typename CustomerProjectT = CustomerProjectsContext>
53 EngagementContextPayload& WithCustomerProject(CustomerProjectT&& value) { SetCustomerProject(std::forward<CustomerProjectT>(value)); return *this;}
55 private:
56
57 CustomerProjectsContext m_customerProject;
58 bool m_customerProjectHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace PartnerCentralSelling
63} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API EngagementContextPayload(Aws::Utils::Json::JsonView jsonValue)
EngagementContextPayload & WithCustomerProject(CustomerProjectT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementContextPayload()=default
AWS_PARTNERCENTRALSELLING_API EngagementContextPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue