AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename VpcIdT = Aws::String>
49 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
50 template<typename VpcIdT = Aws::String>
51 WorkforceVpcConfigResponse& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
53
55
59 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
60 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
61 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
62 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
63 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
64 WorkforceVpcConfigResponse& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
65 template<typename SecurityGroupIdsT = Aws::String>
66 WorkforceVpcConfigResponse& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
68
70
73 inline const Aws::Vector<Aws::String>& GetSubnets() const { return m_subnets; }
74 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
75 template<typename SubnetsT = Aws::Vector<Aws::String>>
76 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet = true; m_subnets = std::forward<SubnetsT>(value); }
77 template<typename SubnetsT = Aws::Vector<Aws::String>>
78 WorkforceVpcConfigResponse& WithSubnets(SubnetsT&& value) { SetSubnets(std::forward<SubnetsT>(value)); return *this;}
79 template<typename SubnetsT = Aws::String>
80 WorkforceVpcConfigResponse& AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet = true; m_subnets.emplace_back(std::forward<SubnetsT>(value)); return *this; }
82
84
88 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
89 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
90 template<typename VpcEndpointIdT = Aws::String>
91 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
92 template<typename VpcEndpointIdT = Aws::String>
93 WorkforceVpcConfigResponse& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
95 private:
96
97 Aws::String m_vpcId;
98 bool m_vpcIdHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_securityGroupIds;
101 bool m_securityGroupIdsHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_subnets;
104 bool m_subnetsHasBeenSet = false;
105
106 Aws::String m_vpcEndpointId;
107 bool m_vpcEndpointIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SageMaker
112} // namespace Aws
WorkforceVpcConfigResponse & WithVpcId(VpcIdT &&value)
WorkforceVpcConfigResponse & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_SAGEMAKER_API WorkforceVpcConfigResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubnets() const
WorkforceVpcConfigResponse & AddSubnets(SubnetsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_SAGEMAKER_API WorkforceVpcConfigResponse()=default
WorkforceVpcConfigResponse & WithSubnets(SubnetsT &&value)
WorkforceVpcConfigResponse & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_SAGEMAKER_API WorkforceVpcConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkforceVpcConfigResponse & AddSecurityGroupIds(SecurityGroupIdsT &&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