AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSecurityConfigurationRequest.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/SecurityConfigurationData.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 CreateSecurityConfigurationRequest();
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 "CreateSecurityConfiguration"; }
34
35 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline CreateSecurityConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline CreateSecurityConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline CreateSecurityConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateSecurityConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateSecurityConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const SecurityConfigurationData& GetSecurityConfigurationData() const{ return m_securityConfigurationData; }
72 inline bool SecurityConfigurationDataHasBeenSet() const { return m_securityConfigurationDataHasBeenSet; }
73 inline void SetSecurityConfigurationData(const SecurityConfigurationData& value) { m_securityConfigurationDataHasBeenSet = true; m_securityConfigurationData = value; }
74 inline void SetSecurityConfigurationData(SecurityConfigurationData&& value) { m_securityConfigurationDataHasBeenSet = true; m_securityConfigurationData = std::move(value); }
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
84 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
85 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
86 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateSecurityConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90 inline CreateSecurityConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline CreateSecurityConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
92 inline CreateSecurityConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
93 inline CreateSecurityConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
94 inline CreateSecurityConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline CreateSecurityConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
97 private:
98
99 Aws::String m_clientToken;
100 bool m_clientTokenHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 SecurityConfigurationData m_securityConfigurationData;
106 bool m_securityConfigurationDataHasBeenSet = false;
107
109 bool m_tagsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EMRContainers
114} // namespace Aws
CreateSecurityConfigurationRequest & WithName(const Aws::String &value)
CreateSecurityConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSecurityConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSecurityConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateSecurityConfigurationRequest & WithSecurityConfigurationData(const SecurityConfigurationData &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSecurityConfigurationRequest & WithClientToken(Aws::String &&value)
CreateSecurityConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateSecurityConfigurationRequest & WithClientToken(const char *value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
CreateSecurityConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSecurityConfigurationRequest & WithSecurityConfigurationData(SecurityConfigurationData &&value)
CreateSecurityConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateSecurityConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateSecurityConfigurationRequest & WithName(Aws::String &&value)
CreateSecurityConfigurationRequest & AddTags(Aws::String &&key, const char *value)
CreateSecurityConfigurationRequest & AddTags(const char *key, const char *value)
CreateSecurityConfigurationRequest & WithClientToken(const Aws::String &value)
CreateSecurityConfigurationRequest & WithName(const char *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