AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Milestone.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/Workload.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 Milestone();
37 AWS_WELLARCHITECTED_API Milestone(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Milestone& 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 Milestone& 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 Milestone& WithMilestoneName(const Aws::String& value) { SetMilestoneName(value); return *this;}
58 inline Milestone& WithMilestoneName(Aws::String&& value) { SetMilestoneName(std::move(value)); return *this;}
59 inline Milestone& 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 Milestone& WithRecordedAt(const Aws::Utils::DateTime& value) { SetRecordedAt(value); return *this;}
69 inline Milestone& WithRecordedAt(Aws::Utils::DateTime&& value) { SetRecordedAt(std::move(value)); return *this;}
71
73
74 inline const Workload& GetWorkload() const{ return m_workload; }
75 inline bool WorkloadHasBeenSet() const { return m_workloadHasBeenSet; }
76 inline void SetWorkload(const Workload& value) { m_workloadHasBeenSet = true; m_workload = value; }
77 inline void SetWorkload(Workload&& value) { m_workloadHasBeenSet = true; m_workload = std::move(value); }
78 inline Milestone& WithWorkload(const Workload& value) { SetWorkload(value); return *this;}
79 inline Milestone& WithWorkload(Workload&& value) { SetWorkload(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 Workload m_workload;
93 bool m_workloadHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace WellArchitected
98} // namespace Aws
Milestone & WithMilestoneName(Aws::String &&value)
Definition Milestone.h:58
const Aws::Utils::DateTime & GetRecordedAt() const
Definition Milestone.h:64
void SetWorkload(const Workload &value)
Definition Milestone.h:76
AWS_WELLARCHITECTED_API Milestone(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMilestoneName() const
Definition Milestone.h:52
void SetWorkload(Workload &&value)
Definition Milestone.h:77
Milestone & WithMilestoneNumber(int value)
Definition Milestone.h:47
const Workload & GetWorkload() const
Definition Milestone.h:74
AWS_WELLARCHITECTED_API Milestone()
void SetMilestoneName(const Aws::String &value)
Definition Milestone.h:54
Milestone & WithWorkload(const Workload &value)
Definition Milestone.h:78
void SetRecordedAt(Aws::Utils::DateTime &&value)
Definition Milestone.h:67
Milestone & WithMilestoneName(const Aws::String &value)
Definition Milestone.h:57
void SetMilestoneName(Aws::String &&value)
Definition Milestone.h:55
Milestone & WithRecordedAt(const Aws::Utils::DateTime &value)
Definition Milestone.h:68
Milestone & WithRecordedAt(Aws::Utils::DateTime &&value)
Definition Milestone.h:69
void SetRecordedAt(const Aws::Utils::DateTime &value)
Definition Milestone.h:66
Milestone & WithMilestoneName(const char *value)
Definition Milestone.h:59
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API Milestone & operator=(Aws::Utils::Json::JsonView jsonValue)
Milestone & WithWorkload(Workload &&value)
Definition Milestone.h:79
void SetMilestoneName(const char *value)
Definition Milestone.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue