AWS SDK for C++  1.9.20
AWS SDK for C++
PutBlockPublicAccessConfigurationRequest.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 "PutBlockPublicAccessConfiguration"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
54  inline const BlockPublicAccessConfiguration& GetBlockPublicAccessConfiguration() const{ return m_blockPublicAccessConfiguration; }
55 
73  inline bool BlockPublicAccessConfigurationHasBeenSet() const { return m_blockPublicAccessConfigurationHasBeenSet; }
74 
92  inline void SetBlockPublicAccessConfiguration(const BlockPublicAccessConfiguration& value) { m_blockPublicAccessConfigurationHasBeenSet = true; m_blockPublicAccessConfiguration = value; }
93 
111  inline void SetBlockPublicAccessConfiguration(BlockPublicAccessConfiguration&& value) { m_blockPublicAccessConfigurationHasBeenSet = true; m_blockPublicAccessConfiguration = std::move(value); }
112 
130  inline PutBlockPublicAccessConfigurationRequest& WithBlockPublicAccessConfiguration(const BlockPublicAccessConfiguration& value) { SetBlockPublicAccessConfiguration(value); return *this;}
131 
149  inline PutBlockPublicAccessConfigurationRequest& WithBlockPublicAccessConfiguration(BlockPublicAccessConfiguration&& value) { SetBlockPublicAccessConfiguration(std::move(value)); return *this;}
150 
151  private:
152 
153  BlockPublicAccessConfiguration m_blockPublicAccessConfiguration;
154  bool m_blockPublicAccessConfigurationHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace EMR
159 } // namespace Aws
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::GetBlockPublicAccessConfiguration
const BlockPublicAccessConfiguration & GetBlockPublicAccessConfiguration() const
Definition: PutBlockPublicAccessConfigurationRequest.h:54
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::WithBlockPublicAccessConfiguration
PutBlockPublicAccessConfigurationRequest & WithBlockPublicAccessConfiguration(const BlockPublicAccessConfiguration &value)
Definition: PutBlockPublicAccessConfigurationRequest.h:130
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::SetBlockPublicAccessConfiguration
void SetBlockPublicAccessConfiguration(BlockPublicAccessConfiguration &&value)
Definition: PutBlockPublicAccessConfigurationRequest.h:111
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::SetBlockPublicAccessConfiguration
void SetBlockPublicAccessConfiguration(const BlockPublicAccessConfiguration &value)
Definition: PutBlockPublicAccessConfigurationRequest.h:92
BlockPublicAccessConfiguration.h
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutBlockPublicAccessConfigurationRequest.h:30
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest
Definition: PutBlockPublicAccessConfigurationRequest.h:22
Aws::EMR::Model::BlockPublicAccessConfiguration
Definition: BlockPublicAccessConfiguration.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::PutBlockPublicAccessConfigurationRequest
PutBlockPublicAccessConfigurationRequest()
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::BlockPublicAccessConfigurationHasBeenSet
bool BlockPublicAccessConfigurationHasBeenSet() const
Definition: PutBlockPublicAccessConfigurationRequest.h:73
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::WithBlockPublicAccessConfiguration
PutBlockPublicAccessConfigurationRequest & WithBlockPublicAccessConfiguration(BlockPublicAccessConfiguration &&value)
Definition: PutBlockPublicAccessConfigurationRequest.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::PutBlockPublicAccessConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28