AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2VpnConnectionOptionsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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 SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API AwsEc2VpnConnectionOptionsDetails();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetStaticRoutesOnly() const{ return m_staticRoutesOnly; }
46 inline bool StaticRoutesOnlyHasBeenSet() const { return m_staticRoutesOnlyHasBeenSet; }
47 inline void SetStaticRoutesOnly(bool value) { m_staticRoutesOnlyHasBeenSet = true; m_staticRoutesOnly = value; }
50
52
56 inline bool TunnelOptionsHasBeenSet() const { return m_tunnelOptionsHasBeenSet; }
57 inline void SetTunnelOptions(const Aws::Vector<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions = value; }
58 inline void SetTunnelOptions(Aws::Vector<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>&& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions = std::move(value); }
61 inline AwsEc2VpnConnectionOptionsDetails& AddTunnelOptions(const AwsEc2VpnConnectionOptionsTunnelOptionsDetails& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions.push_back(value); return *this; }
62 inline AwsEc2VpnConnectionOptionsDetails& AddTunnelOptions(AwsEc2VpnConnectionOptionsTunnelOptionsDetails&& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions.push_back(std::move(value)); return *this; }
64 private:
65
66 bool m_staticRoutesOnly;
67 bool m_staticRoutesOnlyHasBeenSet = false;
68
70 bool m_tunnelOptionsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SecurityHub
75} // namespace Aws
AwsEc2VpnConnectionOptionsDetails & WithTunnelOptions(Aws::Vector< AwsEc2VpnConnectionOptionsTunnelOptionsDetails > &&value)
AWS_SECURITYHUB_API AwsEc2VpnConnectionOptionsDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VpnConnectionOptionsDetails & AddTunnelOptions(const AwsEc2VpnConnectionOptionsTunnelOptionsDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2VpnConnectionOptionsDetails & AddTunnelOptions(AwsEc2VpnConnectionOptionsTunnelOptionsDetails &&value)
AWS_SECURITYHUB_API AwsEc2VpnConnectionOptionsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsEc2VpnConnectionOptionsTunnelOptionsDetails > & GetTunnelOptions() const
void SetTunnelOptions(const Aws::Vector< AwsEc2VpnConnectionOptionsTunnelOptionsDetails > &value)
void SetTunnelOptions(Aws::Vector< AwsEc2VpnConnectionOptionsTunnelOptionsDetails > &&value)
AwsEc2VpnConnectionOptionsDetails & WithTunnelOptions(const Aws::Vector< AwsEc2VpnConnectionOptionsTunnelOptionsDetails > &value)
AwsEc2VpnConnectionOptionsDetails & WithStaticRoutesOnly(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue