AWS SDK for C++  1.8.154
AWS SDK for C++
CreateAccessPointResult.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 Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
40 
45  inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArn = value; }
46 
51  inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArn = std::move(value); }
52 
57  inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); }
58 
63  inline CreateAccessPointResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
64 
69  inline CreateAccessPointResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
70 
75  inline CreateAccessPointResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
76 
77  private:
78 
79  Aws::String m_accessPointArn;
80  };
81 
82 } // namespace Model
83 } // namespace S3Control
84 } // namespace Aws
Aws::S3Control::Model::CreateAccessPointResult::WithAccessPointArn
CreateAccessPointResult & WithAccessPointArn(Aws::String &&value)
Definition: CreateAccessPointResult.h:69
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::CreateAccessPointResult
Definition: CreateAccessPointResult.h:28
Aws::S3Control::Model::CreateAccessPointResult::SetAccessPointArn
void SetAccessPointArn(const Aws::String &value)
Definition: CreateAccessPointResult.h:45
Aws::S3Control::Model::CreateAccessPointResult::GetAccessPointArn
const Aws::String & GetAccessPointArn() const
Definition: CreateAccessPointResult.h:39
Aws::S3Control::Model::CreateAccessPointResult::CreateAccessPointResult
CreateAccessPointResult()
S3Control_EXPORTS.h
Aws::S3Control::Model::CreateAccessPointResult::SetAccessPointArn
void SetAccessPointArn(Aws::String &&value)
Definition: CreateAccessPointResult.h:51
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::CreateAccessPointResult::operator=
CreateAccessPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::S3Control::Model::CreateAccessPointResult::CreateAccessPointResult
CreateAccessPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::CreateAccessPointResult::WithAccessPointArn
CreateAccessPointResult & WithAccessPointArn(const char *value)
Definition: CreateAccessPointResult.h:75
Aws::S3Control::Model::CreateAccessPointResult::WithAccessPointArn
CreateAccessPointResult & WithAccessPointArn(const Aws::String &value)
Definition: CreateAccessPointResult.h:63
Aws::S3Control::Model::CreateAccessPointResult::SetAccessPointArn
void SetAccessPointArn(const char *value)
Definition: CreateAccessPointResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97