AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EnvironmentProfileSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API EnvironmentProfileSummary() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
47 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 template<typename AwsAccountIdT = Aws::String>
49 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
50 template<typename AwsAccountIdT = Aws::String>
51 EnvironmentProfileSummary& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
59 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
60 template<typename AwsAccountRegionT = Aws::String>
61 void SetAwsAccountRegion(AwsAccountRegionT&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::forward<AwsAccountRegionT>(value); }
62 template<typename AwsAccountRegionT = Aws::String>
63 EnvironmentProfileSummary& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
72 template<typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 EnvironmentProfileSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
77
79
82 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
83 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
84 template<typename CreatedByT = Aws::String>
85 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
86 template<typename CreatedByT = Aws::String>
87 EnvironmentProfileSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 EnvironmentProfileSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101
103
107 inline const Aws::String& GetDomainId() const { return m_domainId; }
108 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
109 template<typename DomainIdT = Aws::String>
110 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
111 template<typename DomainIdT = Aws::String>
112 EnvironmentProfileSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
114
116
120 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
121 inline bool EnvironmentBlueprintIdHasBeenSet() const { return m_environmentBlueprintIdHasBeenSet; }
122 template<typename EnvironmentBlueprintIdT = Aws::String>
123 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value); }
124 template<typename EnvironmentBlueprintIdT = Aws::String>
125 EnvironmentProfileSummary& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value)); return *this;}
127
129
132 inline const Aws::String& GetId() const { return m_id; }
133 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
134 template<typename IdT = Aws::String>
135 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
136 template<typename IdT = Aws::String>
137 EnvironmentProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
139
141
144 inline const Aws::String& GetName() const { return m_name; }
145 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
146 template<typename NameT = Aws::String>
147 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
148 template<typename NameT = Aws::String>
149 EnvironmentProfileSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
151
153
156 inline const Aws::String& GetProjectId() const { return m_projectId; }
157 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
158 template<typename ProjectIdT = Aws::String>
159 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
160 template<typename ProjectIdT = Aws::String>
161 EnvironmentProfileSummary& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
163
165
168 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
169 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
170 template<typename UpdatedAtT = Aws::Utils::DateTime>
171 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
172 template<typename UpdatedAtT = Aws::Utils::DateTime>
173 EnvironmentProfileSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
175 private:
176
177 Aws::String m_awsAccountId;
178 bool m_awsAccountIdHasBeenSet = false;
179
180 Aws::String m_awsAccountRegion;
181 bool m_awsAccountRegionHasBeenSet = false;
182
183 Aws::Utils::DateTime m_createdAt{};
184 bool m_createdAtHasBeenSet = false;
185
186 Aws::String m_createdBy;
187 bool m_createdByHasBeenSet = false;
188
189 Aws::String m_description;
190 bool m_descriptionHasBeenSet = false;
191
192 Aws::String m_domainId;
193 bool m_domainIdHasBeenSet = false;
194
195 Aws::String m_environmentBlueprintId;
196 bool m_environmentBlueprintIdHasBeenSet = false;
197
198 Aws::String m_id;
199 bool m_idHasBeenSet = false;
200
201 Aws::String m_name;
202 bool m_nameHasBeenSet = false;
203
204 Aws::String m_projectId;
205 bool m_projectIdHasBeenSet = false;
206
207 Aws::Utils::DateTime m_updatedAt{};
208 bool m_updatedAtHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace DataZone
213} // namespace Aws
EnvironmentProfileSummary & WithCreatedAt(CreatedAtT &&value)
EnvironmentProfileSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API EnvironmentProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentProfileSummary & WithName(NameT &&value)
EnvironmentProfileSummary & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
AWS_DATAZONE_API EnvironmentProfileSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentProfileSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API EnvironmentProfileSummary()=default
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentProfileSummary & WithCreatedBy(CreatedByT &&value)
EnvironmentProfileSummary & WithId(IdT &&value)
EnvironmentProfileSummary & WithAwsAccountRegion(AwsAccountRegionT &&value)
EnvironmentProfileSummary & WithProjectId(ProjectIdT &&value)
EnvironmentProfileSummary & WithAwsAccountId(AwsAccountIdT &&value)
EnvironmentProfileSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue