AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStudioRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EMR
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_EMR_API UpdateStudioRequest();
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_EMR_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetStudioId() const{ return m_studioId; }
43 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
44 inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
45 inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
46 inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
47 inline UpdateStudioRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
48 inline UpdateStudioRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
49 inline UpdateStudioRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline UpdateStudioRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline UpdateStudioRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline UpdateStudioRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline UpdateStudioRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateStudioRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateStudioRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
88 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
89 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
90 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
91 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
92 inline UpdateStudioRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
93 inline UpdateStudioRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
94 inline UpdateStudioRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
95 inline UpdateStudioRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
96 inline UpdateStudioRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
98
100
104 inline const Aws::String& GetDefaultS3Location() const{ return m_defaultS3Location; }
105 inline bool DefaultS3LocationHasBeenSet() const { return m_defaultS3LocationHasBeenSet; }
106 inline void SetDefaultS3Location(const Aws::String& value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location = value; }
107 inline void SetDefaultS3Location(Aws::String&& value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location = std::move(value); }
108 inline void SetDefaultS3Location(const char* value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location.assign(value); }
109 inline UpdateStudioRequest& WithDefaultS3Location(const Aws::String& value) { SetDefaultS3Location(value); return *this;}
110 inline UpdateStudioRequest& WithDefaultS3Location(Aws::String&& value) { SetDefaultS3Location(std::move(value)); return *this;}
111 inline UpdateStudioRequest& WithDefaultS3Location(const char* value) { SetDefaultS3Location(value); return *this;}
113
115
119 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
120 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
121 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
122 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
123 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
124 inline UpdateStudioRequest& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
125 inline UpdateStudioRequest& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
126 inline UpdateStudioRequest& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(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_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_subnetIds;
140 bool m_subnetIdsHasBeenSet = false;
141
142 Aws::String m_defaultS3Location;
143 bool m_defaultS3LocationHasBeenSet = false;
144
145 Aws::String m_encryptionKeyArn;
146 bool m_encryptionKeyArnHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace EMR
151} // namespace Aws
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetStudioId() const
UpdateStudioRequest & WithName(const Aws::String &value)
UpdateStudioRequest & WithDescription(Aws::String &&value)
UpdateStudioRequest & WithStudioId(const Aws::String &value)
UpdateStudioRequest & WithDefaultS3Location(const char *value)
UpdateStudioRequest & WithDefaultS3Location(Aws::String &&value)
const Aws::String & GetName() const
void SetDefaultS3Location(Aws::String &&value)
UpdateStudioRequest & AddSubnetIds(Aws::String &&value)
UpdateStudioRequest & WithEncryptionKeyArn(Aws::String &&value)
void SetEncryptionKeyArn(const Aws::String &value)
const Aws::String & GetDefaultS3Location() const
UpdateStudioRequest & WithStudioId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateStudioRequest & WithDescription(const Aws::String &value)
UpdateStudioRequest & AddSubnetIds(const char *value)
UpdateStudioRequest & AddSubnetIds(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdateStudioRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetDescription(Aws::String &&value)
UpdateStudioRequest & WithEncryptionKeyArn(const char *value)
const Aws::String & GetEncryptionKeyArn() const
UpdateStudioRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetStudioId(const Aws::String &value)
void SetEncryptionKeyArn(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStudioRequest & WithDescription(const char *value)
UpdateStudioRequest & WithDefaultS3Location(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDefaultS3Location(const Aws::String &value)
AWS_EMR_API Aws::String SerializePayload() const override
UpdateStudioRequest & WithStudioId(Aws::String &&value)
UpdateStudioRequest & WithEncryptionKeyArn(const Aws::String &value)
void SetName(const Aws::String &value)
UpdateStudioRequest & WithName(Aws::String &&value)
UpdateStudioRequest & WithName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector