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/lookoutmetrics/LookoutMetrics_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 LookoutMetrics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOOKOUTMETRICS_API VpcConfiguration();
37 AWS_LOOKOUTMETRICS_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetSubnetIdList() const{ return m_subnetIdList; }
48 inline bool SubnetIdListHasBeenSet() const { return m_subnetIdListHasBeenSet; }
49 inline void SetSubnetIdList(const Aws::Vector<Aws::String>& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList = value; }
50 inline void SetSubnetIdList(Aws::Vector<Aws::String>&& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList = std::move(value); }
51 inline VpcConfiguration& WithSubnetIdList(const Aws::Vector<Aws::String>& value) { SetSubnetIdList(value); return *this;}
52 inline VpcConfiguration& WithSubnetIdList(Aws::Vector<Aws::String>&& value) { SetSubnetIdList(std::move(value)); return *this;}
53 inline VpcConfiguration& AddSubnetIdList(const Aws::String& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList.push_back(value); return *this; }
54 inline VpcConfiguration& AddSubnetIdList(Aws::String&& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList.push_back(std::move(value)); return *this; }
55 inline VpcConfiguration& AddSubnetIdList(const char* value) { m_subnetIdListHasBeenSet = true; m_subnetIdList.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<Aws::String>& GetSecurityGroupIdList() const{ return m_securityGroupIdList; }
63 inline bool SecurityGroupIdListHasBeenSet() const { return m_securityGroupIdListHasBeenSet; }
64 inline void SetSecurityGroupIdList(const Aws::Vector<Aws::String>& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList = value; }
65 inline void SetSecurityGroupIdList(Aws::Vector<Aws::String>&& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList = std::move(value); }
68 inline VpcConfiguration& AddSecurityGroupIdList(const Aws::String& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(value); return *this; }
69 inline VpcConfiguration& AddSecurityGroupIdList(Aws::String&& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(std::move(value)); return *this; }
70 inline VpcConfiguration& AddSecurityGroupIdList(const char* value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(value); return *this; }
72 private:
73
74 Aws::Vector<Aws::String> m_subnetIdList;
75 bool m_subnetIdListHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_securityGroupIdList;
78 bool m_securityGroupIdListHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace LookoutMetrics
83} // namespace Aws
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfiguration & AddSecurityGroupIdList(const char *value)
AWS_LOOKOUTMETRICS_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIdList(const Aws::Vector< Aws::String > &value)
VpcConfiguration & AddSubnetIdList(Aws::String &&value)
VpcConfiguration & WithSecurityGroupIdList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIdList() const
void SetSubnetIdList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIdList() const
VpcConfiguration & AddSubnetIdList(const Aws::String &value)
void SetSecurityGroupIdList(Aws::Vector< Aws::String > &&value)
VpcConfiguration & WithSubnetIdList(const Aws::Vector< Aws::String > &value)
AWS_LOOKOUTMETRICS_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
VpcConfiguration & WithSubnetIdList(Aws::Vector< Aws::String > &&value)
VpcConfiguration & AddSecurityGroupIdList(const Aws::String &value)
VpcConfiguration & WithSecurityGroupIdList(Aws::Vector< Aws::String > &&value)
VpcConfiguration & AddSubnetIdList(const char *value)
void SetSecurityGroupIdList(const Aws::Vector< Aws::String > &value)
VpcConfiguration & AddSecurityGroupIdList(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