AWS SDK for C++  1.9.19
AWS SDK for C++
CreateSecurityConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EMR
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateSecurityConfiguration"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline CreateSecurityConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline CreateSecurityConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline CreateSecurityConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77 
85  inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
86 
94  inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
95 
103  inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
104 
112  inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
113 
121  inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
122 
130  inline CreateSecurityConfigurationRequest& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;}
131 
139  inline CreateSecurityConfigurationRequest& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
140 
148  inline CreateSecurityConfigurationRequest& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
149 
150  private:
151 
152  Aws::String m_name;
153  bool m_nameHasBeenSet;
154 
155  Aws::String m_securityConfiguration;
156  bool m_securityConfigurationHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace EMR
161 } // namespace Aws
Aws::EMR::Model::CreateSecurityConfigurationRequest::SetSecurityConfiguration
void SetSecurityConfiguration(Aws::String &&value)
Definition: CreateSecurityConfigurationRequest.h:112
Aws::EMR::Model::CreateSecurityConfigurationRequest::SetSecurityConfiguration
void SetSecurityConfiguration(const Aws::String &value)
Definition: CreateSecurityConfigurationRequest.h:103
Aws::EMR::Model::CreateSecurityConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::CreateSecurityConfigurationRequest::GetName
const Aws::String & GetName() const
Definition: CreateSecurityConfigurationRequest.h:40
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::CreateSecurityConfigurationRequest::SetName
void SetName(const char *value)
Definition: CreateSecurityConfigurationRequest.h:60
Aws::EMR::Model::CreateSecurityConfigurationRequest::WithName
CreateSecurityConfigurationRequest & WithName(const char *value)
Definition: CreateSecurityConfigurationRequest.h:75
Aws::EMR::Model::CreateSecurityConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::CreateSecurityConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSecurityConfigurationRequest.h:30
Aws::EMR::Model::CreateSecurityConfigurationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateSecurityConfigurationRequest.h:45
Aws::EMR::Model::CreateSecurityConfigurationRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateSecurityConfigurationRequest.h:50
Aws::EMR::Model::CreateSecurityConfigurationRequest::WithName
CreateSecurityConfigurationRequest & WithName(Aws::String &&value)
Definition: CreateSecurityConfigurationRequest.h:70
Aws::EMR::Model::CreateSecurityConfigurationRequest::WithSecurityConfiguration
CreateSecurityConfigurationRequest & WithSecurityConfiguration(const char *value)
Definition: CreateSecurityConfigurationRequest.h:148
Aws::EMR::Model::CreateSecurityConfigurationRequest
Definition: CreateSecurityConfigurationRequest.h:22
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::CreateSecurityConfigurationRequest::SecurityConfigurationHasBeenSet
bool SecurityConfigurationHasBeenSet() const
Definition: CreateSecurityConfigurationRequest.h:94
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::CreateSecurityConfigurationRequest::WithSecurityConfiguration
CreateSecurityConfigurationRequest & WithSecurityConfiguration(const Aws::String &value)
Definition: CreateSecurityConfigurationRequest.h:130
AWSString.h
Aws::EMR::Model::CreateSecurityConfigurationRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateSecurityConfigurationRequest.h:55
Aws::EMR::Model::CreateSecurityConfigurationRequest::WithSecurityConfiguration
CreateSecurityConfigurationRequest & WithSecurityConfiguration(Aws::String &&value)
Definition: CreateSecurityConfigurationRequest.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::CreateSecurityConfigurationRequest::SetSecurityConfiguration
void SetSecurityConfiguration(const char *value)
Definition: CreateSecurityConfigurationRequest.h:121
Aws::EMR::Model::CreateSecurityConfigurationRequest::WithName
CreateSecurityConfigurationRequest & WithName(const Aws::String &value)
Definition: CreateSecurityConfigurationRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::CreateSecurityConfigurationRequest::CreateSecurityConfigurationRequest
CreateSecurityConfigurationRequest()
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::CreateSecurityConfigurationRequest::GetSecurityConfiguration
const Aws::String & GetSecurityConfiguration() const
Definition: CreateSecurityConfigurationRequest.h:85