AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVirtualClusterRequest.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/emr-containers/model/ContainerProvider.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace EMRContainers
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_EMRCONTAINERS_API CreateVirtualClusterRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateVirtualCluster"; }
34
35 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateVirtualClusterRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateVirtualClusterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateVirtualClusterRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const ContainerProvider& GetContainerProvider() const{ return m_containerProvider; }
57 inline bool ContainerProviderHasBeenSet() const { return m_containerProviderHasBeenSet; }
58 inline void SetContainerProvider(const ContainerProvider& value) { m_containerProviderHasBeenSet = true; m_containerProvider = value; }
59 inline void SetContainerProvider(ContainerProvider&& value) { m_containerProviderHasBeenSet = true; m_containerProvider = std::move(value); }
63
65
68 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
69 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
70 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
71 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
72 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
73 inline CreateVirtualClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
74 inline CreateVirtualClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
75 inline CreateVirtualClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
77
79
82 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 inline CreateVirtualClusterRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateVirtualClusterRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
89 inline CreateVirtualClusterRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
90 inline CreateVirtualClusterRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
91 inline CreateVirtualClusterRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
92 inline CreateVirtualClusterRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateVirtualClusterRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline CreateVirtualClusterRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96
98
101 inline const Aws::String& GetSecurityConfigurationId() const{ return m_securityConfigurationId; }
102 inline bool SecurityConfigurationIdHasBeenSet() const { return m_securityConfigurationIdHasBeenSet; }
103 inline void SetSecurityConfigurationId(const Aws::String& value) { m_securityConfigurationIdHasBeenSet = true; m_securityConfigurationId = value; }
104 inline void SetSecurityConfigurationId(Aws::String&& value) { m_securityConfigurationIdHasBeenSet = true; m_securityConfigurationId = std::move(value); }
105 inline void SetSecurityConfigurationId(const char* value) { m_securityConfigurationIdHasBeenSet = true; m_securityConfigurationId.assign(value); }
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 ContainerProvider m_containerProvider;
116 bool m_containerProviderHasBeenSet = false;
117
118 Aws::String m_clientToken;
119 bool m_clientTokenHasBeenSet = false;
120
122 bool m_tagsHasBeenSet = false;
123
124 Aws::String m_securityConfigurationId;
125 bool m_securityConfigurationIdHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EMRContainers
130} // namespace Aws
CreateVirtualClusterRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVirtualClusterRequest & AddTags(const char *key, const char *value)
CreateVirtualClusterRequest & WithClientToken(const Aws::String &value)
CreateVirtualClusterRequest & WithContainerProvider(ContainerProvider &&value)
CreateVirtualClusterRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVirtualClusterRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVirtualClusterRequest & AddTags(const char *key, Aws::String &&value)
CreateVirtualClusterRequest & WithName(const Aws::String &value)
CreateVirtualClusterRequest & WithContainerProvider(const ContainerProvider &value)
CreateVirtualClusterRequest & WithClientToken(Aws::String &&value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
CreateVirtualClusterRequest & WithClientToken(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVirtualClusterRequest & WithSecurityConfigurationId(const char *value)
CreateVirtualClusterRequest & WithName(Aws::String &&value)
CreateVirtualClusterRequest & WithSecurityConfigurationId(const Aws::String &value)
CreateVirtualClusterRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVirtualClusterRequest & WithName(const char *value)
CreateVirtualClusterRequest & WithSecurityConfigurationId(Aws::String &&value)
CreateVirtualClusterRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateVirtualClusterRequest & AddTags(Aws::String &&key, const char *value)
CreateVirtualClusterRequest & AddTags(const Aws::String &key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String