AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
StudioSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/AuthMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EMR {
22namespace Model {
23
33 public:
34 AWS_EMR_API StudioSummary() = default;
38
40
43 inline const Aws::String& GetStudioId() const { return m_studioId; }
44 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
45 template <typename StudioIdT = Aws::String>
46 void SetStudioId(StudioIdT&& value) {
47 m_studioIdHasBeenSet = true;
48 m_studioId = std::forward<StudioIdT>(value);
49 }
50 template <typename StudioIdT = Aws::String>
51 StudioSummary& WithStudioId(StudioIdT&& value) {
52 SetStudioId(std::forward<StudioIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
69 StudioSummary& WithName(NameT&& value) {
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetVpcId() const { return m_vpcId; }
81 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
82 template <typename VpcIdT = Aws::String>
83 void SetVpcId(VpcIdT&& value) {
84 m_vpcIdHasBeenSet = true;
85 m_vpcId = std::forward<VpcIdT>(value);
86 }
87 template <typename VpcIdT = Aws::String>
88 StudioSummary& WithVpcId(VpcIdT&& value) {
89 SetVpcId(std::forward<VpcIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 template <typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) {
102 m_descriptionHasBeenSet = true;
103 m_description = std::forward<DescriptionT>(value);
104 }
105 template <typename DescriptionT = Aws::String>
106 StudioSummary& WithDescription(DescriptionT&& value) {
107 SetDescription(std::forward<DescriptionT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetUrl() const { return m_url; }
117 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
118 template <typename UrlT = Aws::String>
119 void SetUrl(UrlT&& value) {
120 m_urlHasBeenSet = true;
121 m_url = std::forward<UrlT>(value);
122 }
123 template <typename UrlT = Aws::String>
124 StudioSummary& WithUrl(UrlT&& value) {
125 SetUrl(std::forward<UrlT>(value));
126 return *this;
127 }
129
131
135 inline AuthMode GetAuthMode() const { return m_authMode; }
136 inline bool AuthModeHasBeenSet() const { return m_authModeHasBeenSet; }
137 inline void SetAuthMode(AuthMode value) {
138 m_authModeHasBeenSet = true;
139 m_authMode = value;
140 }
142 SetAuthMode(value);
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
152 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
153 template <typename CreationTimeT = Aws::Utils::DateTime>
154 void SetCreationTime(CreationTimeT&& value) {
155 m_creationTimeHasBeenSet = true;
156 m_creationTime = std::forward<CreationTimeT>(value);
157 }
158 template <typename CreationTimeT = Aws::Utils::DateTime>
159 StudioSummary& WithCreationTime(CreationTimeT&& value) {
160 SetCreationTime(std::forward<CreationTimeT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_studioId;
166
167 Aws::String m_name;
168
169 Aws::String m_vpcId;
170
171 Aws::String m_description;
172
173 Aws::String m_url;
174
175 AuthMode m_authMode{AuthMode::NOT_SET};
176
177 Aws::Utils::DateTime m_creationTime{};
178 bool m_studioIdHasBeenSet = false;
179 bool m_nameHasBeenSet = false;
180 bool m_vpcIdHasBeenSet = false;
181 bool m_descriptionHasBeenSet = false;
182 bool m_urlHasBeenSet = false;
183 bool m_authModeHasBeenSet = false;
184 bool m_creationTimeHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace EMR
189} // namespace Aws
StudioSummary & WithVpcId(VpcIdT &&value)
void SetName(NameT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationTime() const
StudioSummary & WithCreationTime(CreationTimeT &&value)
void SetAuthMode(AuthMode value)
StudioSummary & WithUrl(UrlT &&value)
StudioSummary & WithName(NameT &&value)
const Aws::String & GetUrl() const
const Aws::String & GetVpcId() const
AWS_EMR_API StudioSummary()=default
AWS_EMR_API StudioSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetCreationTime(CreationTimeT &&value)
AWS_EMR_API StudioSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
StudioSummary & WithDescription(DescriptionT &&value)
void SetStudioId(StudioIdT &&value)
void SetVpcId(VpcIdT &&value)
StudioSummary & WithAuthMode(AuthMode value)
StudioSummary & WithStudioId(StudioIdT &&value)
const Aws::String & GetStudioId() const
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue