AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConfiguration.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_S3CONTROL_API VpcConfiguration();
35 AWS_S3CONTROL_API VpcConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3CONTROL_API VpcConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
47 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
48 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
49 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
50 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
51 inline VpcConfiguration& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
52 inline VpcConfiguration& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
53 inline VpcConfiguration& WithVpcId(const char* value) { SetVpcId(value); return *this;}
55 private:
56
57 Aws::String m_vpcId;
58 bool m_vpcIdHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace S3Control
63} // namespace Aws
VpcConfiguration & WithVpcId(const Aws::String &value)
void SetVpcId(const Aws::String &value)
AWS_S3CONTROL_API VpcConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcConfiguration & WithVpcId(Aws::String &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetVpcId() const
VpcConfiguration & WithVpcId(const char *value)
AWS_S3CONTROL_API VpcConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String