AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcAttachmentOptions.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OSIS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OSIS_API VpcAttachmentOptions();
38
39
41
44 inline bool GetAttachToVpc() const{ return m_attachToVpc; }
45 inline bool AttachToVpcHasBeenSet() const { return m_attachToVpcHasBeenSet; }
46 inline void SetAttachToVpc(bool value) { m_attachToVpcHasBeenSet = true; m_attachToVpc = value; }
47 inline VpcAttachmentOptions& WithAttachToVpc(bool value) { SetAttachToVpc(value); return *this;}
49
51
55 inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; }
56 inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
57 inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; }
58 inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); }
59 inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); }
60 inline VpcAttachmentOptions& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;}
61 inline VpcAttachmentOptions& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;}
62 inline VpcAttachmentOptions& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;}
64 private:
65
66 bool m_attachToVpc;
67 bool m_attachToVpcHasBeenSet = false;
68
69 Aws::String m_cidrBlock;
70 bool m_cidrBlockHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace OSIS
75} // namespace Aws
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
VpcAttachmentOptions & WithCidrBlock(const char *value)
AWS_OSIS_API VpcAttachmentOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_OSIS_API VpcAttachmentOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcAttachmentOptions & WithCidrBlock(Aws::String &&value)
void SetCidrBlock(const Aws::String &value)
VpcAttachmentOptions & WithAttachToVpc(bool value)
VpcAttachmentOptions & WithCidrBlock(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue