AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkforceVpcConfigResponse.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 WorkforceVpcConfigResponse();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
47 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
48 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
49 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
50 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
51 inline WorkforceVpcConfigResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
52 inline WorkforceVpcConfigResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
53 inline WorkforceVpcConfigResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
55
57
61 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
62 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
63 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
64 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
67 inline WorkforceVpcConfigResponse& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
68 inline WorkforceVpcConfigResponse& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
69 inline WorkforceVpcConfigResponse& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
71
73
76 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
77 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
78 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
79 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
80 inline WorkforceVpcConfigResponse& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
81 inline WorkforceVpcConfigResponse& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
82 inline WorkforceVpcConfigResponse& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
83 inline WorkforceVpcConfigResponse& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
84 inline WorkforceVpcConfigResponse& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
86
88
92 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
93 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
94 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
95 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
96 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
97 inline WorkforceVpcConfigResponse& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
98 inline WorkforceVpcConfigResponse& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
99 inline WorkforceVpcConfigResponse& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
101 private:
102
103 Aws::String m_vpcId;
104 bool m_vpcIdHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_securityGroupIds;
107 bool m_securityGroupIdsHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_subnets;
110 bool m_subnetsHasBeenSet = false;
111
112 Aws::String m_vpcEndpointId;
113 bool m_vpcEndpointIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SageMaker
118} // namespace Aws
WorkforceVpcConfigResponse & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
WorkforceVpcConfigResponse & AddSubnets(const Aws::String &value)
WorkforceVpcConfigResponse & AddSecurityGroupIds(Aws::String &&value)
WorkforceVpcConfigResponse & AddSubnets(const char *value)
WorkforceVpcConfigResponse & WithVpcId(const char *value)
AWS_SAGEMAKER_API WorkforceVpcConfigResponse(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
WorkforceVpcConfigResponse & WithVpcEndpointId(const Aws::String &value)
void SetSubnets(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnets() const
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
WorkforceVpcConfigResponse & WithVpcEndpointId(const char *value)
WorkforceVpcConfigResponse & WithSubnets(const Aws::Vector< Aws::String > &value)
WorkforceVpcConfigResponse & WithVpcId(Aws::String &&value)
WorkforceVpcConfigResponse & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
WorkforceVpcConfigResponse & AddSecurityGroupIds(const char *value)
WorkforceVpcConfigResponse & AddSubnets(Aws::String &&value)
void SetSubnets(Aws::Vector< Aws::String > &&value)
WorkforceVpcConfigResponse & WithVpcEndpointId(Aws::String &&value)
WorkforceVpcConfigResponse & AddSecurityGroupIds(const Aws::String &value)
AWS_SAGEMAKER_API WorkforceVpcConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkforceVpcConfigResponse & WithSubnets(Aws::Vector< Aws::String > &&value)
WorkforceVpcConfigResponse & WithVpcId(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue