AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ResourceSnapshotPayload.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/OpportunitySummaryView.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 ResourceSnapshotPayload() = default;
37 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const OpportunitySummaryView& GetOpportunitySummary() const { return m_opportunitySummary; }
47 inline bool OpportunitySummaryHasBeenSet() const { return m_opportunitySummaryHasBeenSet; }
48 template<typename OpportunitySummaryT = OpportunitySummaryView>
49 void SetOpportunitySummary(OpportunitySummaryT&& value) { m_opportunitySummaryHasBeenSet = true; m_opportunitySummary = std::forward<OpportunitySummaryT>(value); }
50 template<typename OpportunitySummaryT = OpportunitySummaryView>
51 ResourceSnapshotPayload& WithOpportunitySummary(OpportunitySummaryT&& value) { SetOpportunitySummary(std::forward<OpportunitySummaryT>(value)); return *this;}
53 private:
54
55 OpportunitySummaryView m_opportunitySummary;
56 bool m_opportunitySummaryHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace PartnerCentralSelling
61} // namespace Aws
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceSnapshotPayload & WithOpportunitySummary(OpportunitySummaryT &&value)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload()=default
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue