AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.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 ProfileSummary() = default;
31 AWS_WELLARCHITECTED_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API ProfileSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
40 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
41 template <typename ProfileArnT = Aws::String>
42 void SetProfileArn(ProfileArnT&& value) {
43 m_profileArnHasBeenSet = true;
44 m_profileArn = std::forward<ProfileArnT>(value);
45 }
46 template <typename ProfileArnT = Aws::String>
47 ProfileSummary& WithProfileArn(ProfileArnT&& value) {
48 SetProfileArn(std::forward<ProfileArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
58 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
59 template <typename ProfileVersionT = Aws::String>
60 void SetProfileVersion(ProfileVersionT&& value) {
61 m_profileVersionHasBeenSet = true;
62 m_profileVersion = std::forward<ProfileVersionT>(value);
63 }
64 template <typename ProfileVersionT = Aws::String>
65 ProfileSummary& WithProfileVersion(ProfileVersionT&& value) {
66 SetProfileVersion(std::forward<ProfileVersionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetProfileName() const { return m_profileName; }
76 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
77 template <typename ProfileNameT = Aws::String>
78 void SetProfileName(ProfileNameT&& value) {
79 m_profileNameHasBeenSet = true;
80 m_profileName = std::forward<ProfileNameT>(value);
81 }
82 template <typename ProfileNameT = Aws::String>
83 ProfileSummary& WithProfileName(ProfileNameT&& value) {
84 SetProfileName(std::forward<ProfileNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetProfileDescription() const { return m_profileDescription; }
94 inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; }
95 template <typename ProfileDescriptionT = Aws::String>
96 void SetProfileDescription(ProfileDescriptionT&& value) {
97 m_profileDescriptionHasBeenSet = true;
98 m_profileDescription = std::forward<ProfileDescriptionT>(value);
99 }
100 template <typename ProfileDescriptionT = Aws::String>
101 ProfileSummary& WithProfileDescription(ProfileDescriptionT&& value) {
102 SetProfileDescription(std::forward<ProfileDescriptionT>(value));
103 return *this;
104 }
106
108
109 inline const Aws::String& GetOwner() const { return m_owner; }
110 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
111 template <typename OwnerT = Aws::String>
112 void SetOwner(OwnerT&& value) {
113 m_ownerHasBeenSet = true;
114 m_owner = std::forward<OwnerT>(value);
115 }
116 template <typename OwnerT = Aws::String>
117 ProfileSummary& WithOwner(OwnerT&& value) {
118 SetOwner(std::forward<OwnerT>(value));
119 return *this;
120 }
122
124
125 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
126 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
127 template <typename CreatedAtT = Aws::Utils::DateTime>
128 void SetCreatedAt(CreatedAtT&& value) {
129 m_createdAtHasBeenSet = true;
130 m_createdAt = std::forward<CreatedAtT>(value);
131 }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 ProfileSummary& WithCreatedAt(CreatedAtT&& value) {
134 SetCreatedAt(std::forward<CreatedAtT>(value));
135 return *this;
136 }
138
140
141 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
142 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
143 template <typename UpdatedAtT = Aws::Utils::DateTime>
144 void SetUpdatedAt(UpdatedAtT&& value) {
145 m_updatedAtHasBeenSet = true;
146 m_updatedAt = std::forward<UpdatedAtT>(value);
147 }
148 template <typename UpdatedAtT = Aws::Utils::DateTime>
149 ProfileSummary& WithUpdatedAt(UpdatedAtT&& value) {
150 SetUpdatedAt(std::forward<UpdatedAtT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_profileArn;
156 bool m_profileArnHasBeenSet = false;
157
158 Aws::String m_profileVersion;
159 bool m_profileVersionHasBeenSet = false;
160
161 Aws::String m_profileName;
162 bool m_profileNameHasBeenSet = false;
163
164 Aws::String m_profileDescription;
165 bool m_profileDescriptionHasBeenSet = false;
166
167 Aws::String m_owner;
168 bool m_ownerHasBeenSet = false;
169
170 Aws::Utils::DateTime m_createdAt{};
171 bool m_createdAtHasBeenSet = false;
172
173 Aws::Utils::DateTime m_updatedAt{};
174 bool m_updatedAtHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace WellArchitected
179} // namespace Aws
AWS_WELLARCHITECTED_API ProfileSummary()=default
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetProfileArn() const
ProfileSummary & WithProfileName(ProfileNameT &&value)
ProfileSummary & WithProfileArn(ProfileArnT &&value)
void SetProfileDescription(ProfileDescriptionT &&value)
ProfileSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
ProfileSummary & WithProfileVersion(ProfileVersionT &&value)
AWS_WELLARCHITECTED_API ProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProfileName(ProfileNameT &&value)
const Aws::String & GetProfileDescription() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ProfileSummary & WithProfileDescription(ProfileDescriptionT &&value)
void SetProfileVersion(ProfileVersionT &&value)
const Aws::String & GetProfileName() const
const Aws::String & GetProfileVersion() const
AWS_WELLARCHITECTED_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue)
ProfileSummary & WithOwner(OwnerT &&value)
ProfileSummary & WithUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue