AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/model/NetworkACLEntry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace finspace
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_FINSPACE_API TransitGatewayConfiguration();
41 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetTransitGatewayID() const{ return m_transitGatewayID; }
50 inline bool TransitGatewayIDHasBeenSet() const { return m_transitGatewayIDHasBeenSet; }
51 inline void SetTransitGatewayID(const Aws::String& value) { m_transitGatewayIDHasBeenSet = true; m_transitGatewayID = value; }
52 inline void SetTransitGatewayID(Aws::String&& value) { m_transitGatewayIDHasBeenSet = true; m_transitGatewayID = std::move(value); }
53 inline void SetTransitGatewayID(const char* value) { m_transitGatewayIDHasBeenSet = true; m_transitGatewayID.assign(value); }
55 inline TransitGatewayConfiguration& WithTransitGatewayID(Aws::String&& value) { SetTransitGatewayID(std::move(value)); return *this;}
56 inline TransitGatewayConfiguration& WithTransitGatewayID(const char* value) { SetTransitGatewayID(value); return *this;}
58
60
66 inline const Aws::String& GetRoutableCIDRSpace() const{ return m_routableCIDRSpace; }
67 inline bool RoutableCIDRSpaceHasBeenSet() const { return m_routableCIDRSpaceHasBeenSet; }
68 inline void SetRoutableCIDRSpace(const Aws::String& value) { m_routableCIDRSpaceHasBeenSet = true; m_routableCIDRSpace = value; }
69 inline void SetRoutableCIDRSpace(Aws::String&& value) { m_routableCIDRSpaceHasBeenSet = true; m_routableCIDRSpace = std::move(value); }
70 inline void SetRoutableCIDRSpace(const char* value) { m_routableCIDRSpaceHasBeenSet = true; m_routableCIDRSpace.assign(value); }
72 inline TransitGatewayConfiguration& WithRoutableCIDRSpace(Aws::String&& value) { SetRoutableCIDRSpace(std::move(value)); return *this;}
73 inline TransitGatewayConfiguration& WithRoutableCIDRSpace(const char* value) { SetRoutableCIDRSpace(value); return *this;}
75
77
81 inline const Aws::Vector<NetworkACLEntry>& GetAttachmentNetworkAclConfiguration() const{ return m_attachmentNetworkAclConfiguration; }
82 inline bool AttachmentNetworkAclConfigurationHasBeenSet() const { return m_attachmentNetworkAclConfigurationHasBeenSet; }
83 inline void SetAttachmentNetworkAclConfiguration(const Aws::Vector<NetworkACLEntry>& value) { m_attachmentNetworkAclConfigurationHasBeenSet = true; m_attachmentNetworkAclConfiguration = value; }
84 inline void SetAttachmentNetworkAclConfiguration(Aws::Vector<NetworkACLEntry>&& value) { m_attachmentNetworkAclConfigurationHasBeenSet = true; m_attachmentNetworkAclConfiguration = std::move(value); }
87 inline TransitGatewayConfiguration& AddAttachmentNetworkAclConfiguration(const NetworkACLEntry& value) { m_attachmentNetworkAclConfigurationHasBeenSet = true; m_attachmentNetworkAclConfiguration.push_back(value); return *this; }
88 inline TransitGatewayConfiguration& AddAttachmentNetworkAclConfiguration(NetworkACLEntry&& value) { m_attachmentNetworkAclConfigurationHasBeenSet = true; m_attachmentNetworkAclConfiguration.push_back(std::move(value)); return *this; }
90 private:
91
92 Aws::String m_transitGatewayID;
93 bool m_transitGatewayIDHasBeenSet = false;
94
95 Aws::String m_routableCIDRSpace;
96 bool m_routableCIDRSpaceHasBeenSet = false;
97
98 Aws::Vector<NetworkACLEntry> m_attachmentNetworkAclConfiguration;
99 bool m_attachmentNetworkAclConfigurationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace finspace
104} // namespace Aws
TransitGatewayConfiguration & AddAttachmentNetworkAclConfiguration(NetworkACLEntry &&value)
TransitGatewayConfiguration & WithRoutableCIDRSpace(const char *value)
void SetAttachmentNetworkAclConfiguration(Aws::Vector< NetworkACLEntry > &&value)
TransitGatewayConfiguration & WithTransitGatewayID(const char *value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACE_API TransitGatewayConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayConfiguration & WithRoutableCIDRSpace(Aws::String &&value)
TransitGatewayConfiguration & WithTransitGatewayID(Aws::String &&value)
AWS_FINSPACE_API TransitGatewayConfiguration(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayConfiguration & WithAttachmentNetworkAclConfiguration(Aws::Vector< NetworkACLEntry > &&value)
TransitGatewayConfiguration & WithRoutableCIDRSpace(const Aws::String &value)
TransitGatewayConfiguration & WithTransitGatewayID(const Aws::String &value)
TransitGatewayConfiguration & AddAttachmentNetworkAclConfiguration(const NetworkACLEntry &value)
const Aws::Vector< NetworkACLEntry > & GetAttachmentNetworkAclConfiguration() const
void SetAttachmentNetworkAclConfiguration(const Aws::Vector< NetworkACLEntry > &value)
TransitGatewayConfiguration & WithAttachmentNetworkAclConfiguration(const Aws::Vector< NetworkACLEntry > &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