AWS SDK for C++  1.8.154
AWS SDK for C++
VpcConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace S3Control
21 {
22 namespace Model
23 {
24 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
45  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
46 
51  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
52 
57  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
58 
63  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
64 
69  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
70 
75  inline VpcConfiguration& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
76 
81  inline VpcConfiguration& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
82 
87  inline VpcConfiguration& WithVpcId(const char* value) { SetVpcId(value); return *this;}
88 
89  private:
90 
91  Aws::String m_vpcId;
92  bool m_vpcIdHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace S3Control
97 } // namespace Aws
Aws::S3Control::Model::VpcConfiguration::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: VpcConfiguration.h:51
Aws::S3Control::Model::VpcConfiguration::VpcConfiguration
VpcConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::VpcConfiguration
Definition: VpcConfiguration.h:32
Aws::S3Control::Model::VpcConfiguration::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::VpcConfiguration::operator=
VpcConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Control_EXPORTS.h
Aws::S3Control::Model::VpcConfiguration::WithVpcId
VpcConfiguration & WithVpcId(const char *value)
Definition: VpcConfiguration.h:87
Aws::S3Control::Model::VpcConfiguration::VpcConfiguration
VpcConfiguration()
Aws::S3Control::Model::VpcConfiguration::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: VpcConfiguration.h:63
Aws::S3Control::Model::VpcConfiguration::WithVpcId
VpcConfiguration & WithVpcId(const Aws::String &value)
Definition: VpcConfiguration.h:75
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::VpcConfiguration::GetVpcId
const Aws::String & GetVpcId() const
Definition: VpcConfiguration.h:45
Aws::S3Control::Model::VpcConfiguration::WithVpcId
VpcConfiguration & WithVpcId(Aws::String &&value)
Definition: VpcConfiguration.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::VpcConfiguration::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: VpcConfiguration.h:57
Aws::S3Control::Model::VpcConfiguration::SetVpcId
void SetVpcId(const char *value)
Definition: VpcConfiguration.h:69