AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StudioSummary.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/AuthMode.h>
10#include <aws/core/utils/DateTime.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 EMR
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_EMR_API StudioSummary() = default;
43
44
46
49 inline const Aws::String& GetStudioId() const { return m_studioId; }
50 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
51 template<typename StudioIdT = Aws::String>
52 void SetStudioId(StudioIdT&& value) { m_studioIdHasBeenSet = true; m_studioId = std::forward<StudioIdT>(value); }
53 template<typename StudioIdT = Aws::String>
54 StudioSummary& WithStudioId(StudioIdT&& value) { SetStudioId(std::forward<StudioIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 StudioSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
74 inline const Aws::String& GetVpcId() const { return m_vpcId; }
75 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
76 template<typename VpcIdT = Aws::String>
77 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
78 template<typename VpcIdT = Aws::String>
79 StudioSummary& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 StudioSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
98 inline const Aws::String& GetUrl() const { return m_url; }
99 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
100 template<typename UrlT = Aws::String>
101 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
102 template<typename UrlT = Aws::String>
103 StudioSummary& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
105
107
111 inline AuthMode GetAuthMode() const { return m_authMode; }
112 inline bool AuthModeHasBeenSet() const { return m_authModeHasBeenSet; }
113 inline void SetAuthMode(AuthMode value) { m_authModeHasBeenSet = true; m_authMode = value; }
114 inline StudioSummary& WithAuthMode(AuthMode value) { SetAuthMode(value); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
122 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
123 template<typename CreationTimeT = Aws::Utils::DateTime>
124 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
125 template<typename CreationTimeT = Aws::Utils::DateTime>
126 StudioSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
128 private:
129
130 Aws::String m_studioId;
131 bool m_studioIdHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 Aws::String m_vpcId;
137 bool m_vpcIdHasBeenSet = false;
138
139 Aws::String m_description;
140 bool m_descriptionHasBeenSet = false;
141
142 Aws::String m_url;
143 bool m_urlHasBeenSet = false;
144
145 AuthMode m_authMode{AuthMode::NOT_SET};
146 bool m_authModeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_creationTime{};
149 bool m_creationTimeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace EMR
154} // 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