AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationJobVpcConfig.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
34 {
35 public:
36 AWS_SAGEMAKER_API RecommendationJobVpcConfig();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
49 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
50 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
51 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
54 inline RecommendationJobVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
55 inline RecommendationJobVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
56 inline RecommendationJobVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
58
60
63 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
64 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
65 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
66 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
67 inline RecommendationJobVpcConfig& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
68 inline RecommendationJobVpcConfig& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
69 inline RecommendationJobVpcConfig& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
70 inline RecommendationJobVpcConfig& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
71 inline RecommendationJobVpcConfig& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
73 private:
74
75 Aws::Vector<Aws::String> m_securityGroupIds;
76 bool m_securityGroupIdsHasBeenSet = false;
77
79 bool m_subnetsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
RecommendationJobVpcConfig & AddSecurityGroupIds(Aws::String &&value)
void SetSubnets(const Aws::Vector< Aws::String > &value)
RecommendationJobVpcConfig & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RecommendationJobVpcConfig & AddSecurityGroupIds(const Aws::String &value)
RecommendationJobVpcConfig & AddSubnets(const char *value)
AWS_SAGEMAKER_API RecommendationJobVpcConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RecommendationJobVpcConfig & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
RecommendationJobVpcConfig & WithSubnets(Aws::Vector< Aws::String > &&value)
AWS_SAGEMAKER_API RecommendationJobVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
RecommendationJobVpcConfig & WithSubnets(const Aws::Vector< Aws::String > &value)
void SetSubnets(Aws::Vector< Aws::String > &&value)
RecommendationJobVpcConfig & AddSecurityGroupIds(const char *value)
const Aws::Vector< Aws::String > & GetSubnets() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationJobVpcConfig & AddSubnets(const Aws::String &value)
RecommendationJobVpcConfig & AddSubnets(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