AWS SDK for C++  1.9.45
AWS SDK for C++
UpdateStudioRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EMR
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateStudio"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetStudioId() const{ return m_studioId; }
42 
46  inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
47 
51  inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
52 
56  inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
57 
61  inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
62 
66  inline UpdateStudioRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
67 
71  inline UpdateStudioRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
72 
76  inline UpdateStudioRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;}
77 
78 
82  inline const Aws::String& GetName() const{ return m_name; }
83 
87  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 
92  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 
97  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 
102  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
103 
107  inline UpdateStudioRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
108 
112  inline UpdateStudioRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 
117  inline UpdateStudioRequest& WithName(const char* value) { SetName(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline UpdateStudioRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline UpdateStudioRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline UpdateStudioRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160 
168  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
169 
177  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
178 
186  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
187 
195  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
196 
204  inline UpdateStudioRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
205 
213  inline UpdateStudioRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
214 
222  inline UpdateStudioRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
223 
231  inline UpdateStudioRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
232 
240  inline UpdateStudioRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
241 
242 
247  inline const Aws::String& GetDefaultS3Location() const{ return m_defaultS3Location; }
248 
253  inline bool DefaultS3LocationHasBeenSet() const { return m_defaultS3LocationHasBeenSet; }
254 
259  inline void SetDefaultS3Location(const Aws::String& value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location = value; }
260 
265  inline void SetDefaultS3Location(Aws::String&& value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location = std::move(value); }
266 
271  inline void SetDefaultS3Location(const char* value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location.assign(value); }
272 
277  inline UpdateStudioRequest& WithDefaultS3Location(const Aws::String& value) { SetDefaultS3Location(value); return *this;}
278 
283  inline UpdateStudioRequest& WithDefaultS3Location(Aws::String&& value) { SetDefaultS3Location(std::move(value)); return *this;}
284 
289  inline UpdateStudioRequest& WithDefaultS3Location(const char* value) { SetDefaultS3Location(value); return *this;}
290 
291  private:
292 
293  Aws::String m_studioId;
294  bool m_studioIdHasBeenSet;
295 
296  Aws::String m_name;
297  bool m_nameHasBeenSet;
298 
299  Aws::String m_description;
300  bool m_descriptionHasBeenSet;
301 
302  Aws::Vector<Aws::String> m_subnetIds;
303  bool m_subnetIdsHasBeenSet;
304 
305  Aws::String m_defaultS3Location;
306  bool m_defaultS3LocationHasBeenSet;
307  };
308 
309 } // namespace Model
310 } // namespace EMR
311 } // namespace Aws
Aws::EMR::Model::UpdateStudioRequest::WithSubnetIds
UpdateStudioRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateStudioRequest.h:213
Aws::EMR::Model::UpdateStudioRequest::WithStudioId
UpdateStudioRequest & WithStudioId(const char *value)
Definition: UpdateStudioRequest.h:76
Aws::EMR::Model::UpdateStudioRequest::WithDefaultS3Location
UpdateStudioRequest & WithDefaultS3Location(const Aws::String &value)
Definition: UpdateStudioRequest.h:277
Aws::EMR::Model::UpdateStudioRequest::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: UpdateStudioRequest.h:177
Aws::EMR::Model::UpdateStudioRequest::WithName
UpdateStudioRequest & WithName(Aws::String &&value)
Definition: UpdateStudioRequest.h:112
Aws::EMR::Model::UpdateStudioRequest::WithStudioId
UpdateStudioRequest & WithStudioId(Aws::String &&value)
Definition: UpdateStudioRequest.h:71
Aws::EMR::Model::UpdateStudioRequest::GetDefaultS3Location
const Aws::String & GetDefaultS3Location() const
Definition: UpdateStudioRequest.h:247
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::UpdateStudioRequest::AddSubnetIds
UpdateStudioRequest & AddSubnetIds(const Aws::String &value)
Definition: UpdateStudioRequest.h:222
Aws::EMR::Model::UpdateStudioRequest::SetStudioId
void SetStudioId(const Aws::String &value)
Definition: UpdateStudioRequest.h:51
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::UpdateStudioRequest::WithDescription
UpdateStudioRequest & WithDescription(Aws::String &&value)
Definition: UpdateStudioRequest.h:153
Aws::EMR::Model::UpdateStudioRequest::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateStudioRequest.h:195
Aws::EMR::Model::UpdateStudioRequest::StudioIdHasBeenSet
bool StudioIdHasBeenSet() const
Definition: UpdateStudioRequest.h:46
Aws::EMR::Model::UpdateStudioRequest::SetDefaultS3Location
void SetDefaultS3Location(Aws::String &&value)
Definition: UpdateStudioRequest.h:265
Aws::EMR::Model::UpdateStudioRequest::WithDescription
UpdateStudioRequest & WithDescription(const Aws::String &value)
Definition: UpdateStudioRequest.h:148
Aws::EMR::Model::UpdateStudioRequest::DefaultS3LocationHasBeenSet
bool DefaultS3LocationHasBeenSet() const
Definition: UpdateStudioRequest.h:253
Aws::EMR::Model::UpdateStudioRequest::SetDefaultS3Location
void SetDefaultS3Location(const Aws::String &value)
Definition: UpdateStudioRequest.h:259
Aws::EMR::Model::UpdateStudioRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateStudioRequest.h:123
Aws::EMR::Model::UpdateStudioRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::UpdateStudioRequest::AddSubnetIds
UpdateStudioRequest & AddSubnetIds(Aws::String &&value)
Definition: UpdateStudioRequest.h:231
Aws::EMR::Model::UpdateStudioRequest::GetName
const Aws::String & GetName() const
Definition: UpdateStudioRequest.h:82
AWSVector.h
Aws::EMR::Model::UpdateStudioRequest::WithDescription
UpdateStudioRequest & WithDescription(const char *value)
Definition: UpdateStudioRequest.h:158
Aws::EMR::Model::UpdateStudioRequest::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: UpdateStudioRequest.h:168
Aws::EMR::Model::UpdateStudioRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateStudioRequest.h:92
Aws::EMR::Model::UpdateStudioRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateStudioRequest.h:143
Aws::EMR::Model::UpdateStudioRequest::SetDefaultS3Location
void SetDefaultS3Location(const char *value)
Definition: UpdateStudioRequest.h:271
Aws::EMR::Model::UpdateStudioRequest::SetStudioId
void SetStudioId(Aws::String &&value)
Definition: UpdateStudioRequest.h:56
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::UpdateStudioRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateStudioRequest.h:87
Aws::EMR::Model::UpdateStudioRequest::WithName
UpdateStudioRequest & WithName(const Aws::String &value)
Definition: UpdateStudioRequest.h:107
Aws::EMR::Model::UpdateStudioRequest::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateStudioRequest.h:186
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::UpdateStudioRequest::WithDefaultS3Location
UpdateStudioRequest & WithDefaultS3Location(const char *value)
Definition: UpdateStudioRequest.h:289
Aws::EMR::Model::UpdateStudioRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateStudioRequest.h:97
Aws::EMR::Model::UpdateStudioRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::UpdateStudioRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateStudioRequest.h:31
Aws::EMR::Model::UpdateStudioRequest::SetName
void SetName(const char *value)
Definition: UpdateStudioRequest.h:102
Aws::EMR::Model::UpdateStudioRequest::AddSubnetIds
UpdateStudioRequest & AddSubnetIds(const char *value)
Definition: UpdateStudioRequest.h:240
Aws::EMR::Model::UpdateStudioRequest::WithStudioId
UpdateStudioRequest & WithStudioId(const Aws::String &value)
Definition: UpdateStudioRequest.h:66
Aws::EMR::Model::UpdateStudioRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateStudioRequest.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::UpdateStudioRequest::WithSubnetIds
UpdateStudioRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateStudioRequest.h:204
Aws::EMR::Model::UpdateStudioRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateStudioRequest.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::UpdateStudioRequest::SetStudioId
void SetStudioId(const char *value)
Definition: UpdateStudioRequest.h:61
Aws::EMR::Model::UpdateStudioRequest::GetStudioId
const Aws::String & GetStudioId() const
Definition: UpdateStudioRequest.h:41
Aws::EMR::Model::UpdateStudioRequest::UpdateStudioRequest
UpdateStudioRequest()
Aws::EMR::Model::UpdateStudioRequest
Definition: UpdateStudioRequest.h:23
Aws::EMR::Model::UpdateStudioRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateStudioRequest.h:138
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::UpdateStudioRequest::WithDefaultS3Location
UpdateStudioRequest & WithDefaultS3Location(Aws::String &&value)
Definition: UpdateStudioRequest.h:283
Aws::EMR::Model::UpdateStudioRequest::WithName
UpdateStudioRequest & WithName(const char *value)
Definition: UpdateStudioRequest.h:117