AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProfileNotificationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9#include <aws/wellarchitected/model/ProfileNotificationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WellArchitected {
21namespace Model {
22
29 public:
30 AWS_WELLARCHITECTED_API ProfileNotificationSummary() = default;
31 AWS_WELLARCHITECTED_API ProfileNotificationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCurrentProfileVersion() const { return m_currentProfileVersion; }
40 inline bool CurrentProfileVersionHasBeenSet() const { return m_currentProfileVersionHasBeenSet; }
41 template <typename CurrentProfileVersionT = Aws::String>
42 void SetCurrentProfileVersion(CurrentProfileVersionT&& value) {
43 m_currentProfileVersionHasBeenSet = true;
44 m_currentProfileVersion = std::forward<CurrentProfileVersionT>(value);
45 }
46 template <typename CurrentProfileVersionT = Aws::String>
47 ProfileNotificationSummary& WithCurrentProfileVersion(CurrentProfileVersionT&& value) {
48 SetCurrentProfileVersion(std::forward<CurrentProfileVersionT>(value));
49 return *this;
50 }
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) {
61 m_latestProfileVersionHasBeenSet = true;
62 m_latestProfileVersion = std::forward<LatestProfileVersionT>(value);
63 }
64 template <typename LatestProfileVersionT = Aws::String>
65 ProfileNotificationSummary& WithLatestProfileVersion(LatestProfileVersionT&& value) {
66 SetLatestProfileVersion(std::forward<LatestProfileVersionT>(value));
67 return *this;
68 }
70
72
75 inline ProfileNotificationType GetType() const { return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(ProfileNotificationType value) {
78 m_typeHasBeenSet = true;
79 m_type = value;
80 }
82 SetType(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
92 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
93 template <typename ProfileArnT = Aws::String>
94 void SetProfileArn(ProfileArnT&& value) {
95 m_profileArnHasBeenSet = true;
96 m_profileArn = std::forward<ProfileArnT>(value);
97 }
98 template <typename ProfileArnT = Aws::String>
100 SetProfileArn(std::forward<ProfileArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetProfileName() const { return m_profileName; }
110 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
111 template <typename ProfileNameT = Aws::String>
112 void SetProfileName(ProfileNameT&& value) {
113 m_profileNameHasBeenSet = true;
114 m_profileName = std::forward<ProfileNameT>(value);
115 }
116 template <typename ProfileNameT = Aws::String>
118 SetProfileName(std::forward<ProfileNameT>(value));
119 return *this;
120 }
122
124
125 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
126 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
127 template <typename WorkloadIdT = Aws::String>
128 void SetWorkloadId(WorkloadIdT&& value) {
129 m_workloadIdHasBeenSet = true;
130 m_workloadId = std::forward<WorkloadIdT>(value);
131 }
132 template <typename WorkloadIdT = Aws::String>
134 SetWorkloadId(std::forward<WorkloadIdT>(value));
135 return *this;
136 }
138
140
141 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
142 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
143 template <typename WorkloadNameT = Aws::String>
144 void SetWorkloadName(WorkloadNameT&& value) {
145 m_workloadNameHasBeenSet = true;
146 m_workloadName = std::forward<WorkloadNameT>(value);
147 }
148 template <typename WorkloadNameT = Aws::String>
150 SetWorkloadName(std::forward<WorkloadNameT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_currentProfileVersion;
156
157 Aws::String m_latestProfileVersion;
158
160
161 Aws::String m_profileArn;
162
163 Aws::String m_profileName;
164
165 Aws::String m_workloadId;
166
167 Aws::String m_workloadName;
168 bool m_currentProfileVersionHasBeenSet = false;
169 bool m_latestProfileVersionHasBeenSet = false;
170 bool m_typeHasBeenSet = false;
171 bool m_profileArnHasBeenSet = false;
172 bool m_profileNameHasBeenSet = false;
173 bool m_workloadIdHasBeenSet = false;
174 bool m_workloadNameHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace WellArchitected
179} // 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