AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NeoVpcConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_SAGEMAKER_API NeoVpcConfig();
43 AWS_SAGEMAKER_API NeoVpcConfig(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API NeoVpcConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
55 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
56 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
57 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
59 inline NeoVpcConfig& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
60 inline NeoVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
61 inline NeoVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
62 inline NeoVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
64
66
70 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
71 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
72 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
73 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
74 inline NeoVpcConfig& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
75 inline NeoVpcConfig& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
76 inline NeoVpcConfig& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
77 inline NeoVpcConfig& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
78 inline NeoVpcConfig& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
80 private:
81
82 Aws::Vector<Aws::String> m_securityGroupIds;
83 bool m_securityGroupIdsHasBeenSet = false;
84
86 bool m_subnetsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SageMaker
91} // namespace Aws
NeoVpcConfig & WithSubnets(const Aws::Vector< Aws::String > &value)
NeoVpcConfig & AddSecurityGroupIds(const Aws::String &value)
AWS_SAGEMAKER_API NeoVpcConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
NeoVpcConfig & AddSubnets(const char *value)
void SetSubnets(Aws::Vector< Aws::String > &&value)
NeoVpcConfig & AddSecurityGroupIds(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
NeoVpcConfig & WithSubnets(Aws::Vector< Aws::String > &&value)
NeoVpcConfig & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetSubnets(const Aws::Vector< Aws::String > &value)
NeoVpcConfig & AddSecurityGroupIds(Aws::String &&value)
NeoVpcConfig & AddSubnets(Aws::String &&value)
NeoVpcConfig & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
NeoVpcConfig & AddSubnets(const Aws::String &value)
AWS_SAGEMAKER_API NeoVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue