AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename StudioIdT = Aws::String>
45 void SetStudioId(StudioIdT&& value) { m_studioIdHasBeenSet = true; m_studioId = std::forward<StudioIdT>(value); }
46 template<typename StudioIdT = Aws::String>
47 UpdateStudioRequest& WithStudioId(StudioIdT&& value) { SetStudioId(std::forward<StudioIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 UpdateStudioRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateStudioRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
82 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
83 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
84 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
85 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
86 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
87 UpdateStudioRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
88 template<typename SubnetIdsT = Aws::String>
89 UpdateStudioRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
91
93
97 inline const Aws::String& GetDefaultS3Location() const { return m_defaultS3Location; }
98 inline bool DefaultS3LocationHasBeenSet() const { return m_defaultS3LocationHasBeenSet; }
99 template<typename DefaultS3LocationT = Aws::String>
100 void SetDefaultS3Location(DefaultS3LocationT&& value) { m_defaultS3LocationHasBeenSet = true; m_defaultS3Location = std::forward<DefaultS3LocationT>(value); }
101 template<typename DefaultS3LocationT = Aws::String>
102 UpdateStudioRequest& WithDefaultS3Location(DefaultS3LocationT&& value) { SetDefaultS3Location(std::forward<DefaultS3LocationT>(value)); return *this;}
104
106
110 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
111 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
112 template<typename EncryptionKeyArnT = Aws::String>
113 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
114 template<typename EncryptionKeyArnT = Aws::String>
115 UpdateStudioRequest& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
117 private:
118
119 Aws::String m_studioId;
120 bool m_studioIdHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_subnetIds;
129 bool m_subnetIdsHasBeenSet = false;
130
131 Aws::String m_defaultS3Location;
132 bool m_defaultS3LocationHasBeenSet = false;
133
134 Aws::String m_encryptionKeyArn;
135 bool m_encryptionKeyArnHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace EMR
140} // namespace Aws
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetStudioId() const
UpdateStudioRequest & WithStudioId(StudioIdT &&value)
const Aws::String & GetName() const
void SetDefaultS3Location(DefaultS3LocationT &&value)
const Aws::String & GetDefaultS3Location() const
void SetDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::String & GetEncryptionKeyArn() const
UpdateStudioRequest & WithSubnetIds(SubnetIdsT &&value)
UpdateStudioRequest & WithDefaultS3Location(DefaultS3LocationT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EMR_API UpdateStudioRequest()=default
UpdateStudioRequest & WithName(NameT &&value)
UpdateStudioRequest & AddSubnetIds(SubnetIdsT &&value)
const Aws::String & GetDescription() const
AWS_EMR_API Aws::String SerializePayload() const override
UpdateStudioRequest & WithDescription(DescriptionT &&value)
UpdateStudioRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&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