AWS SDK for C++  1.8.154
AWS SDK for C++
GetPublicAccessBlockResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace S3Control
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; }
40 
45  inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfiguration = value; }
46 
51  inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfiguration = std::move(value); }
52 
57  inline GetPublicAccessBlockResult& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;}
58 
63  inline GetPublicAccessBlockResult& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;}
64 
65  private:
66 
67  PublicAccessBlockConfiguration m_publicAccessBlockConfiguration;
68  };
69 
70 } // namespace Model
71 } // namespace S3Control
72 } // namespace Aws
Aws::S3Control::Model::GetPublicAccessBlockResult
Definition: GetPublicAccessBlockResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::GetPublicAccessBlockResult::GetPublicAccessBlockResult
GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
S3Control_EXPORTS.h
Aws::S3Control::Model::GetPublicAccessBlockResult::SetPublicAccessBlockConfiguration
void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration &&value)
Definition: GetPublicAccessBlockResult.h:51
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::PublicAccessBlockConfiguration
Definition: PublicAccessBlockConfiguration.h:36
Aws::S3Control::Model::GetPublicAccessBlockResult::GetPublicAccessBlockResult
GetPublicAccessBlockResult()
Aws::S3Control::Model::GetPublicAccessBlockResult::SetPublicAccessBlockConfiguration
void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration &value)
Definition: GetPublicAccessBlockResult.h:45
Aws::S3Control::Model::GetPublicAccessBlockResult::WithPublicAccessBlockConfiguration
GetPublicAccessBlockResult & WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration &value)
Definition: GetPublicAccessBlockResult.h:57
PublicAccessBlockConfiguration.h
Aws::S3Control::Model::GetPublicAccessBlockResult::WithPublicAccessBlockConfiguration
GetPublicAccessBlockResult & WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration &&value)
Definition: GetPublicAccessBlockResult.h:63
Aws::S3Control::Model::GetPublicAccessBlockResult::operator=
GetPublicAccessBlockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::GetPublicAccessBlockResult::GetPublicAccessBlockConfiguration
const PublicAccessBlockConfiguration & GetPublicAccessBlockConfiguration() const
Definition: GetPublicAccessBlockResult.h:39