AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename MilestoneNameT = Aws::String>
55 void SetMilestoneName(MilestoneNameT&& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = std::forward<MilestoneNameT>(value); }
56 template<typename MilestoneNameT = Aws::String>
57 MilestoneSummary& WithMilestoneName(MilestoneNameT&& value) { SetMilestoneName(std::forward<MilestoneNameT>(value)); return *this;}
59
61
62 inline const Aws::Utils::DateTime& GetRecordedAt() const { return m_recordedAt; }
63 inline bool RecordedAtHasBeenSet() const { return m_recordedAtHasBeenSet; }
64 template<typename RecordedAtT = Aws::Utils::DateTime>
65 void SetRecordedAt(RecordedAtT&& value) { m_recordedAtHasBeenSet = true; m_recordedAt = std::forward<RecordedAtT>(value); }
66 template<typename RecordedAtT = Aws::Utils::DateTime>
67 MilestoneSummary& WithRecordedAt(RecordedAtT&& value) { SetRecordedAt(std::forward<RecordedAtT>(value)); return *this;}
69
71
72 inline const WorkloadSummary& GetWorkloadSummary() const { return m_workloadSummary; }
73 inline bool WorkloadSummaryHasBeenSet() const { return m_workloadSummaryHasBeenSet; }
74 template<typename WorkloadSummaryT = WorkloadSummary>
75 void SetWorkloadSummary(WorkloadSummaryT&& value) { m_workloadSummaryHasBeenSet = true; m_workloadSummary = std::forward<WorkloadSummaryT>(value); }
76 template<typename WorkloadSummaryT = WorkloadSummary>
77 MilestoneSummary& WithWorkloadSummary(WorkloadSummaryT&& value) { SetWorkloadSummary(std::forward<WorkloadSummaryT>(value)); return *this;}
79 private:
80
81 int m_milestoneNumber{0};
82 bool m_milestoneNumberHasBeenSet = false;
83
84 Aws::String m_milestoneName;
85 bool m_milestoneNameHasBeenSet = false;
86
87 Aws::Utils::DateTime m_recordedAt{};
88 bool m_recordedAtHasBeenSet = false;
89
90 WorkloadSummary m_workloadSummary;
91 bool m_workloadSummaryHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace WellArchitected
96} // namespace Aws
MilestoneSummary & WithWorkloadSummary(WorkloadSummaryT &&value)
const WorkloadSummary & GetWorkloadSummary() const
MilestoneSummary & WithRecordedAt(RecordedAtT &&value)
const Aws::Utils::DateTime & GetRecordedAt() const
void SetMilestoneName(MilestoneNameT &&value)
MilestoneSummary & WithMilestoneName(MilestoneNameT &&value)
AWS_WELLARCHITECTED_API MilestoneSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API MilestoneSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MilestoneSummary & WithMilestoneNumber(int value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API MilestoneSummary()=default
void SetWorkloadSummary(WorkloadSummaryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue