AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProjectProfileSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/Status.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 DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API ProjectProfileSummary() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
50 template<typename CreatedAtT = Aws::Utils::DateTime>
51 ProjectProfileSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
59 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
60 template<typename CreatedByT = Aws::String>
61 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
62 template<typename CreatedByT = Aws::String>
63 ProjectProfileSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 ProjectProfileSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDomainId() const { return m_domainId; }
83 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
84 template<typename DomainIdT = Aws::String>
85 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
86 template<typename DomainIdT = Aws::String>
87 ProjectProfileSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
95 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
96 template<typename DomainUnitIdT = Aws::String>
97 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
98 template<typename DomainUnitIdT = Aws::String>
99 ProjectProfileSummary& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
101
103
106 inline const Aws::String& GetId() const { return m_id; }
107 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
108 template<typename IdT = Aws::String>
109 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
110 template<typename IdT = Aws::String>
111 ProjectProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
119 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
120 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
121 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
122 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
123 ProjectProfileSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
125
127
130 inline const Aws::String& GetName() const { return m_name; }
131 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 template<typename NameT = Aws::String>
133 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
134 template<typename NameT = Aws::String>
135 ProjectProfileSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
137
139
142 inline Status GetStatus() const { return m_status; }
143 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
145 inline ProjectProfileSummary& WithStatus(Status value) { SetStatus(value); return *this;}
147 private:
148
149 Aws::Utils::DateTime m_createdAt{};
150 bool m_createdAtHasBeenSet = false;
151
152 Aws::String m_createdBy;
153 bool m_createdByHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::String m_domainId;
159 bool m_domainIdHasBeenSet = false;
160
161 Aws::String m_domainUnitId;
162 bool m_domainUnitIdHasBeenSet = false;
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166
167 Aws::Utils::DateTime m_lastUpdatedAt{};
168 bool m_lastUpdatedAtHasBeenSet = false;
169
170 Aws::String m_name;
171 bool m_nameHasBeenSet = false;
172
173 Status m_status{Status::NOT_SET};
174 bool m_statusHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace DataZone
179} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ProjectProfileSummary & WithDescription(DescriptionT &&value)
ProjectProfileSummary & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API ProjectProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ProjectProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectProfileSummary & WithStatus(Status value)
ProjectProfileSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
ProjectProfileSummary & WithCreatedAt(CreatedAtT &&value)
ProjectProfileSummary & WithName(NameT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectProfileSummary & WithId(IdT &&value)
ProjectProfileSummary & WithDomainUnitId(DomainUnitIdT &&value)
ProjectProfileSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API ProjectProfileSummary()=default
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue