AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ResourceSnapshotPayload.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/AwsOpportunitySummaryFullView.h>
9#include <aws/partnercentral-selling/model/OpportunitySummaryView.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
31 public:
32 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload() = default;
33 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const OpportunitySummaryView& GetOpportunitySummary() const { return m_opportunitySummary; }
42 inline bool OpportunitySummaryHasBeenSet() const { return m_opportunitySummaryHasBeenSet; }
43 template <typename OpportunitySummaryT = OpportunitySummaryView>
44 void SetOpportunitySummary(OpportunitySummaryT&& value) {
45 m_opportunitySummaryHasBeenSet = true;
46 m_opportunitySummary = std::forward<OpportunitySummaryT>(value);
47 }
48 template <typename OpportunitySummaryT = OpportunitySummaryView>
49 ResourceSnapshotPayload& WithOpportunitySummary(OpportunitySummaryT&& value) {
50 SetOpportunitySummary(std::forward<OpportunitySummaryT>(value));
51 return *this;
52 }
54
56
59 inline const AwsOpportunitySummaryFullView& GetAwsOpportunitySummaryFullView() const { return m_awsOpportunitySummaryFullView; }
60 inline bool AwsOpportunitySummaryFullViewHasBeenSet() const { return m_awsOpportunitySummaryFullViewHasBeenSet; }
61 template <typename AwsOpportunitySummaryFullViewT = AwsOpportunitySummaryFullView>
62 void SetAwsOpportunitySummaryFullView(AwsOpportunitySummaryFullViewT&& value) {
63 m_awsOpportunitySummaryFullViewHasBeenSet = true;
64 m_awsOpportunitySummaryFullView = std::forward<AwsOpportunitySummaryFullViewT>(value);
65 }
66 template <typename AwsOpportunitySummaryFullViewT = AwsOpportunitySummaryFullView>
67 ResourceSnapshotPayload& WithAwsOpportunitySummaryFullView(AwsOpportunitySummaryFullViewT&& value) {
68 SetAwsOpportunitySummaryFullView(std::forward<AwsOpportunitySummaryFullViewT>(value));
69 return *this;
70 }
72 private:
73 OpportunitySummaryView m_opportunitySummary;
74
75 AwsOpportunitySummaryFullView m_awsOpportunitySummaryFullView;
76 bool m_opportunitySummaryHasBeenSet = false;
77 bool m_awsOpportunitySummaryFullViewHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace PartnerCentralSelling
82} // namespace Aws
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceSnapshotPayload & WithOpportunitySummary(OpportunitySummaryT &&value)
const AwsOpportunitySummaryFullView & GetAwsOpportunitySummaryFullView() const
ResourceSnapshotPayload & WithAwsOpportunitySummaryFullView(AwsOpportunitySummaryFullViewT &&value)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload()=default
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsOpportunitySummaryFullView(AwsOpportunitySummaryFullViewT &&value)
Aws::Utils::Json::JsonValue JsonValue