AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ResourceSnapshotJobSummary.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/ResourceSnapshotJobStatus.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
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary() = default;
37 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API ResourceSnapshotJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ResourceSnapshotJobSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
59 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
60 template<typename EngagementIdT = Aws::String>
61 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::forward<EngagementIdT>(value); }
62 template<typename EngagementIdT = Aws::String>
63 ResourceSnapshotJobSummary& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
65
67
72 inline const Aws::String& GetId() const { return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 template<typename IdT = Aws::String>
75 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
76 template<typename IdT = Aws::String>
77 ResourceSnapshotJobSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
79
81
86 inline ResourceSnapshotJobStatus GetStatus() const { return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(ResourceSnapshotJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 private:
92
93 Aws::String m_arn;
94 bool m_arnHasBeenSet = false;
95
96 Aws::String m_engagementId;
97 bool m_engagementIdHasBeenSet = false;
98
99 Aws::String m_id;
100 bool m_idHasBeenSet = false;
101
103 bool m_statusHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace PartnerCentralSelling
108} // 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