AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProfileNotificationSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/ProfileNotificationType.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 WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API ProfileNotificationSummary() = default;
36 AWS_WELLARCHITECTED_API ProfileNotificationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCurrentProfileVersion() const { return m_currentProfileVersion; }
46 inline bool CurrentProfileVersionHasBeenSet() const { return m_currentProfileVersionHasBeenSet; }
47 template<typename CurrentProfileVersionT = Aws::String>
48 void SetCurrentProfileVersion(CurrentProfileVersionT&& value) { m_currentProfileVersionHasBeenSet = true; m_currentProfileVersion = std::forward<CurrentProfileVersionT>(value); }
49 template<typename CurrentProfileVersionT = Aws::String>
50 ProfileNotificationSummary& WithCurrentProfileVersion(CurrentProfileVersionT&& value) { SetCurrentProfileVersion(std::forward<CurrentProfileVersionT>(value)); return *this;}
52
54
57 inline const Aws::String& GetLatestProfileVersion() const { return m_latestProfileVersion; }
58 inline bool LatestProfileVersionHasBeenSet() const { return m_latestProfileVersionHasBeenSet; }
59 template<typename LatestProfileVersionT = Aws::String>
60 void SetLatestProfileVersion(LatestProfileVersionT&& value) { m_latestProfileVersionHasBeenSet = true; m_latestProfileVersion = std::forward<LatestProfileVersionT>(value); }
61 template<typename LatestProfileVersionT = Aws::String>
62 ProfileNotificationSummary& WithLatestProfileVersion(LatestProfileVersionT&& value) { SetLatestProfileVersion(std::forward<LatestProfileVersionT>(value)); return *this;}
64
66
69 inline ProfileNotificationType GetType() const { return m_type; }
70 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
71 inline void SetType(ProfileNotificationType value) { m_typeHasBeenSet = true; m_type = value; }
74
76
79 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
80 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
81 template<typename ProfileArnT = Aws::String>
82 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
83 template<typename ProfileArnT = Aws::String>
84 ProfileNotificationSummary& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
86
88
91 inline const Aws::String& GetProfileName() const { return m_profileName; }
92 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
93 template<typename ProfileNameT = Aws::String>
94 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
95 template<typename ProfileNameT = Aws::String>
96 ProfileNotificationSummary& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
98
100
101 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
102 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
103 template<typename WorkloadIdT = Aws::String>
104 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
105 template<typename WorkloadIdT = Aws::String>
106 ProfileNotificationSummary& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
108
110
111 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
112 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
113 template<typename WorkloadNameT = Aws::String>
114 void SetWorkloadName(WorkloadNameT&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::forward<WorkloadNameT>(value); }
115 template<typename WorkloadNameT = Aws::String>
116 ProfileNotificationSummary& WithWorkloadName(WorkloadNameT&& value) { SetWorkloadName(std::forward<WorkloadNameT>(value)); return *this;}
118 private:
119
120 Aws::String m_currentProfileVersion;
121 bool m_currentProfileVersionHasBeenSet = false;
122
123 Aws::String m_latestProfileVersion;
124 bool m_latestProfileVersionHasBeenSet = false;
125
127 bool m_typeHasBeenSet = false;
128
129 Aws::String m_profileArn;
130 bool m_profileArnHasBeenSet = false;
131
132 Aws::String m_profileName;
133 bool m_profileNameHasBeenSet = false;
134
135 Aws::String m_workloadId;
136 bool m_workloadIdHasBeenSet = false;
137
138 Aws::String m_workloadName;
139 bool m_workloadNameHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace WellArchitected
144} // namespace Aws
ProfileNotificationSummary & WithLatestProfileVersion(LatestProfileVersionT &&value)
ProfileNotificationSummary & WithWorkloadId(WorkloadIdT &&value)
AWS_WELLARCHITECTED_API ProfileNotificationSummary()=default
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileNotificationSummary & WithCurrentProfileVersion(CurrentProfileVersionT &&value)
AWS_WELLARCHITECTED_API ProfileNotificationSummary(Aws::Utils::Json::JsonView jsonValue)
ProfileNotificationSummary & WithWorkloadName(WorkloadNameT &&value)
ProfileNotificationSummary & WithProfileArn(ProfileArnT &&value)
ProfileNotificationSummary & WithProfileName(ProfileNameT &&value)
AWS_WELLARCHITECTED_API ProfileNotificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileNotificationSummary & WithType(ProfileNotificationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue