AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MilestoneSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/wellarchitected/model/WorkloadSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WellArchitected
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_WELLARCHITECTED_API MilestoneSummary();
37 AWS_WELLARCHITECTED_API MilestoneSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API MilestoneSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
45 inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; }
46 inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; }
47 inline MilestoneSummary& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
49
51
52 inline const Aws::String& GetMilestoneName() const{ return m_milestoneName; }
53 inline bool MilestoneNameHasBeenSet() const { return m_milestoneNameHasBeenSet; }
54 inline void SetMilestoneName(const Aws::String& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = value; }
55 inline void SetMilestoneName(Aws::String&& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = std::move(value); }
56 inline void SetMilestoneName(const char* value) { m_milestoneNameHasBeenSet = true; m_milestoneName.assign(value); }
57 inline MilestoneSummary& WithMilestoneName(const Aws::String& value) { SetMilestoneName(value); return *this;}
58 inline MilestoneSummary& WithMilestoneName(Aws::String&& value) { SetMilestoneName(std::move(value)); return *this;}
59 inline MilestoneSummary& WithMilestoneName(const char* value) { SetMilestoneName(value); return *this;}
61
63
64 inline const Aws::Utils::DateTime& GetRecordedAt() const{ return m_recordedAt; }
65 inline bool RecordedAtHasBeenSet() const { return m_recordedAtHasBeenSet; }
66 inline void SetRecordedAt(const Aws::Utils::DateTime& value) { m_recordedAtHasBeenSet = true; m_recordedAt = value; }
67 inline void SetRecordedAt(Aws::Utils::DateTime&& value) { m_recordedAtHasBeenSet = true; m_recordedAt = std::move(value); }
68 inline MilestoneSummary& WithRecordedAt(const Aws::Utils::DateTime& value) { SetRecordedAt(value); return *this;}
69 inline MilestoneSummary& WithRecordedAt(Aws::Utils::DateTime&& value) { SetRecordedAt(std::move(value)); return *this;}
71
73
74 inline const WorkloadSummary& GetWorkloadSummary() const{ return m_workloadSummary; }
75 inline bool WorkloadSummaryHasBeenSet() const { return m_workloadSummaryHasBeenSet; }
76 inline void SetWorkloadSummary(const WorkloadSummary& value) { m_workloadSummaryHasBeenSet = true; m_workloadSummary = value; }
77 inline void SetWorkloadSummary(WorkloadSummary&& value) { m_workloadSummaryHasBeenSet = true; m_workloadSummary = std::move(value); }
78 inline MilestoneSummary& WithWorkloadSummary(const WorkloadSummary& value) { SetWorkloadSummary(value); return *this;}
79 inline MilestoneSummary& WithWorkloadSummary(WorkloadSummary&& value) { SetWorkloadSummary(std::move(value)); return *this;}
81 private:
82
83 int m_milestoneNumber;
84 bool m_milestoneNumberHasBeenSet = false;
85
86 Aws::String m_milestoneName;
87 bool m_milestoneNameHasBeenSet = false;
88
89 Aws::Utils::DateTime m_recordedAt;
90 bool m_recordedAtHasBeenSet = false;
91
92 WorkloadSummary m_workloadSummary;
93 bool m_workloadSummaryHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace WellArchitected
98} // namespace Aws
void SetMilestoneName(const Aws::String &value)
void SetWorkloadSummary(const WorkloadSummary &value)
MilestoneSummary & WithWorkloadSummary(WorkloadSummary &&value)
const WorkloadSummary & GetWorkloadSummary() const
void SetRecordedAt(Aws::Utils::DateTime &&value)
AWS_WELLARCHITECTED_API MilestoneSummary()
MilestoneSummary & WithMilestoneName(const char *value)
MilestoneSummary & WithRecordedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRecordedAt() const
MilestoneSummary & WithWorkloadSummary(const WorkloadSummary &value)
AWS_WELLARCHITECTED_API MilestoneSummary(Aws::Utils::Json::JsonView jsonValue)
MilestoneSummary & WithMilestoneName(Aws::String &&value)
AWS_WELLARCHITECTED_API MilestoneSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecordedAt(const Aws::Utils::DateTime &value)
void SetWorkloadSummary(WorkloadSummary &&value)
MilestoneSummary & WithMilestoneNumber(int value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
MilestoneSummary & WithRecordedAt(const Aws::Utils::DateTime &value)
MilestoneSummary & WithMilestoneName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue