AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename VpcIdT = Aws::String>
49 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
50 template<typename VpcIdT = Aws::String>
51 VpcConfiguration& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
53 private:
54
55 Aws::String m_vpcId;
56 bool m_vpcIdHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace S3Control
61} // namespace Aws
VpcConfiguration & WithVpcId(VpcIdT &&value)
AWS_S3CONTROL_API VpcConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API VpcConfiguration()=default
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetVpcId() const
AWS_S3CONTROL_API VpcConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String