181 lines
6.9 KiB
C
181 lines
6.9 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace KinesisAnalyticsV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the parameters of a VPC used by the application.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/VpcConfiguration">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_KINESISANALYTICSV2_API VpcConfiguration
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
VpcConfiguration();
|
|||
|
|
VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The array of <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SecurityGroup.html">SecurityGroup</a>
|
|||
|
|
* IDs used by the VPC configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<Aws::String> m_subnetIds;
|
|||
|
|
bool m_subnetIdsHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Vector<Aws::String> m_securityGroupIds;
|
|||
|
|
bool m_securityGroupIdsHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace KinesisAnalyticsV2
|
|||
|
|
} // namespace Aws
|