AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralSelling {
20namespace Model {
21
30 public:
31 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload() = default;
32 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const OpportunitySummaryView& GetOpportunitySummary() const { return m_opportunitySummary; }
41 inline bool OpportunitySummaryHasBeenSet() const { return m_opportunitySummaryHasBeenSet; }
42 template <typename OpportunitySummaryT = OpportunitySummaryView>
43 void SetOpportunitySummary(OpportunitySummaryT&& value) {
44 m_opportunitySummaryHasBeenSet = true;
45 m_opportunitySummary = std::forward<OpportunitySummaryT>(value);
46 }
47 template <typename OpportunitySummaryT = OpportunitySummaryView>
48 ResourceSnapshotPayload& WithOpportunitySummary(OpportunitySummaryT&& value) {
49 SetOpportunitySummary(std::forward<OpportunitySummaryT>(value));
50 return *this;
51 }
53 private:
54 OpportunitySummaryView m_opportunitySummary;
55 bool m_opportunitySummaryHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace PartnerCentralSelling
60} // 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