AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ResourceSnapshotJobSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/ResourceSnapshotJobStatus.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
30 public:
31 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary() = default;
32 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template <typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) {
64 m_arnHasBeenSet = true;
65 m_arn = std::forward<ArnT>(value);
66 }
67 template <typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
79 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
80 template <typename EngagementIdT = Aws::String>
81 void SetEngagementId(EngagementIdT&& value) {
82 m_engagementIdHasBeenSet = true;
83 m_engagementId = std::forward<EngagementIdT>(value);
84 }
85 template <typename EngagementIdT = Aws::String>
87 SetEngagementId(std::forward<EngagementIdT>(value));
88 return *this;
89 }
91
93
98 inline ResourceSnapshotJobStatus GetStatus() const { return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 m_statusHasBeenSet = true;
102 m_status = value;
103 }
105 SetStatus(value);
106 return *this;
107 }
109 private:
110 Aws::String m_id;
111
112 Aws::String m_arn;
113
114 Aws::String m_engagementId;
115
117 bool m_idHasBeenSet = false;
118 bool m_arnHasBeenSet = false;
119 bool m_engagementIdHasBeenSet = false;
120 bool m_statusHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace PartnerCentralSelling
125} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceSnapshotJobSummary & WithStatus(ResourceSnapshotJobStatus value)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary()=default
AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary(Aws::Utils::Json::JsonView jsonValue)
ResourceSnapshotJobSummary & WithEngagementId(EngagementIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue