AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EngagementContextDetails.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/EngagementContextPayload.h>
9#include <aws/partnercentral-selling/model/EngagementContextType.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
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API EngagementContextDetails() = default;
38 AWS_PARTNERCENTRALSELLING_API EngagementContextDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API EngagementContextDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const EngagementContextPayload& GetPayload() const { return m_payload; }
49 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
50 template<typename PayloadT = EngagementContextPayload>
51 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
52 template<typename PayloadT = EngagementContextPayload>
53 EngagementContextDetails& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
55
57
62 inline EngagementContextType GetType() const { return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(EngagementContextType value) { m_typeHasBeenSet = true; m_type = value; }
65 inline EngagementContextDetails& WithType(EngagementContextType value) { SetType(value); return *this;}
67 private:
68
70 bool m_payloadHasBeenSet = false;
71
73 bool m_typeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace PartnerCentralSelling
78} // namespace Aws
AWS_PARTNERCENTRALSELLING_API EngagementContextDetails()=default
AWS_PARTNERCENTRALSELLING_API EngagementContextDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API EngagementContextDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EngagementContextDetails & WithType(EngagementContextType value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue