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/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ManagedGrafana
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_MANAGEDGRAFANA_API VpcConfiguration();
40 AWS_MANAGEDGRAFANA_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDGRAFANA_API VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
51 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
52 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
53 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
55 inline VpcConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
56 inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
57 inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
58 inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
60
62
66 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
67 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
68 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
69 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
70 inline VpcConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
71 inline VpcConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
72 inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
73 inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
74 inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
76 private:
77
78 Aws::Vector<Aws::String> m_securityGroupIds;
79 bool m_securityGroupIdsHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_subnetIds;
82 bool m_subnetIdsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace ManagedGrafana
87} // namespace Aws
VpcConfiguration & AddSubnetIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & AddSecurityGroupIds(const char *value)
VpcConfiguration & AddSubnetIds(Aws::String &&value)
AWS_MANAGEDGRAFANA_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfiguration & AddSubnetIds(const char *value)
VpcConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
AWS_MANAGEDGRAFANA_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfiguration & AddSecurityGroupIds(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & AddSecurityGroupIds(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue