AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
49 inline const Aws::String& GetStudioId() const{ return m_studioId; }
50 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
51 inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
52 inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
53 inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
54 inline StudioSummary& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
55 inline StudioSummary& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
56 inline StudioSummary& WithStudioId(const char* value) { SetStudioId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline StudioSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline StudioSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline StudioSummary& WithName(const char* value) { SetName(value); return *this;}
72
74
78 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
79 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
80 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
81 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
82 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
83 inline StudioSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
84 inline StudioSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
85 inline StudioSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline StudioSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline StudioSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline StudioSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
106 inline const Aws::String& GetUrl() const{ return m_url; }
107 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
108 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
109 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
110 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
111 inline StudioSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
112 inline StudioSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
113 inline StudioSummary& WithUrl(const char* value) { SetUrl(value); return *this;}
115
117
121 inline const AuthMode& GetAuthMode() const{ return m_authMode; }
122 inline bool AuthModeHasBeenSet() const { return m_authModeHasBeenSet; }
123 inline void SetAuthMode(const AuthMode& value) { m_authModeHasBeenSet = true; m_authMode = value; }
124 inline void SetAuthMode(AuthMode&& value) { m_authModeHasBeenSet = true; m_authMode = std::move(value); }
125 inline StudioSummary& WithAuthMode(const AuthMode& value) { SetAuthMode(value); return *this;}
126 inline StudioSummary& WithAuthMode(AuthMode&& value) { SetAuthMode(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
134 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
135 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
136 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
137 inline StudioSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
138 inline StudioSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_studioId;
143 bool m_studioIdHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_vpcId;
149 bool m_vpcIdHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::String m_url;
155 bool m_urlHasBeenSet = false;
156
157 AuthMode m_authMode;
158 bool m_authModeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_creationTime;
161 bool m_creationTimeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace EMR
166} // namespace Aws
StudioSummary & WithVpcId(const char *value)
void SetDescription(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
StudioSummary & WithStudioId(const Aws::String &value)
void SetAuthMode(const AuthMode &value)
StudioSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
void SetName(Aws::String &&value)
void SetVpcId(const Aws::String &value)
void SetStudioId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetDescription(const char *value)
StudioSummary & WithDescription(const Aws::String &value)
StudioSummary & WithAuthMode(AuthMode &&value)
const Aws::String & GetUrl() const
const Aws::String & GetVpcId() const
StudioSummary & WithDescription(const char *value)
StudioSummary & WithStudioId(Aws::String &&value)
StudioSummary & WithUrl(const Aws::String &value)
AWS_EMR_API StudioSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StudioSummary & WithVpcId(const Aws::String &value)
const Aws::String & GetName() const
StudioSummary & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_EMR_API StudioSummary(Aws::Utils::Json::JsonView jsonValue)
void SetUrl(const char *value)
void SetStudioId(Aws::String &&value)
void SetVpcId(const char *value)
StudioSummary & WithStudioId(const char *value)
void SetUrl(Aws::String &&value)
StudioSummary & WithVpcId(Aws::String &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
StudioSummary & WithName(const char *value)
void SetUrl(const Aws::String &value)
StudioSummary & WithCreationTime(const Aws::Utils::DateTime &value)
StudioSummary & WithName(const Aws::String &value)
const Aws::String & GetStudioId() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetAuthMode(AuthMode &&value)
void SetVpcId(Aws::String &&value)
StudioSummary & WithUrl(const char *value)
void SetStudioId(const char *value)
void SetName(const char *value)
StudioSummary & WithAuthMode(const AuthMode &value)
void SetName(const Aws::String &value)
const AuthMode & GetAuthMode() const
StudioSummary & WithUrl(Aws::String &&value)
StudioSummary & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue