AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExpectedRoute.h
1
6#pragma once
7#include <aws/fms/FMS_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 FMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FMS_API ExpectedRoute();
40
41
43
46 inline const Aws::String& GetIpV4Cidr() const{ return m_ipV4Cidr; }
47 inline bool IpV4CidrHasBeenSet() const { return m_ipV4CidrHasBeenSet; }
48 inline void SetIpV4Cidr(const Aws::String& value) { m_ipV4CidrHasBeenSet = true; m_ipV4Cidr = value; }
49 inline void SetIpV4Cidr(Aws::String&& value) { m_ipV4CidrHasBeenSet = true; m_ipV4Cidr = std::move(value); }
50 inline void SetIpV4Cidr(const char* value) { m_ipV4CidrHasBeenSet = true; m_ipV4Cidr.assign(value); }
51 inline ExpectedRoute& WithIpV4Cidr(const Aws::String& value) { SetIpV4Cidr(value); return *this;}
52 inline ExpectedRoute& WithIpV4Cidr(Aws::String&& value) { SetIpV4Cidr(std::move(value)); return *this;}
53 inline ExpectedRoute& WithIpV4Cidr(const char* value) { SetIpV4Cidr(value); return *this;}
55
57
60 inline const Aws::String& GetPrefixListId() const{ return m_prefixListId; }
61 inline bool PrefixListIdHasBeenSet() const { return m_prefixListIdHasBeenSet; }
62 inline void SetPrefixListId(const Aws::String& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = value; }
63 inline void SetPrefixListId(Aws::String&& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = std::move(value); }
64 inline void SetPrefixListId(const char* value) { m_prefixListIdHasBeenSet = true; m_prefixListId.assign(value); }
65 inline ExpectedRoute& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;}
66 inline ExpectedRoute& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;}
67 inline ExpectedRoute& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;}
69
71
74 inline const Aws::String& GetIpV6Cidr() const{ return m_ipV6Cidr; }
75 inline bool IpV6CidrHasBeenSet() const { return m_ipV6CidrHasBeenSet; }
76 inline void SetIpV6Cidr(const Aws::String& value) { m_ipV6CidrHasBeenSet = true; m_ipV6Cidr = value; }
77 inline void SetIpV6Cidr(Aws::String&& value) { m_ipV6CidrHasBeenSet = true; m_ipV6Cidr = std::move(value); }
78 inline void SetIpV6Cidr(const char* value) { m_ipV6CidrHasBeenSet = true; m_ipV6Cidr.assign(value); }
79 inline ExpectedRoute& WithIpV6Cidr(const Aws::String& value) { SetIpV6Cidr(value); return *this;}
80 inline ExpectedRoute& WithIpV6Cidr(Aws::String&& value) { SetIpV6Cidr(std::move(value)); return *this;}
81 inline ExpectedRoute& WithIpV6Cidr(const char* value) { SetIpV6Cidr(value); return *this;}
83
85
88 inline const Aws::Vector<Aws::String>& GetContributingSubnets() const{ return m_contributingSubnets; }
89 inline bool ContributingSubnetsHasBeenSet() const { return m_contributingSubnetsHasBeenSet; }
90 inline void SetContributingSubnets(const Aws::Vector<Aws::String>& value) { m_contributingSubnetsHasBeenSet = true; m_contributingSubnets = value; }
91 inline void SetContributingSubnets(Aws::Vector<Aws::String>&& value) { m_contributingSubnetsHasBeenSet = true; m_contributingSubnets = std::move(value); }
93 inline ExpectedRoute& WithContributingSubnets(Aws::Vector<Aws::String>&& value) { SetContributingSubnets(std::move(value)); return *this;}
94 inline ExpectedRoute& AddContributingSubnets(const Aws::String& value) { m_contributingSubnetsHasBeenSet = true; m_contributingSubnets.push_back(value); return *this; }
95 inline ExpectedRoute& AddContributingSubnets(Aws::String&& value) { m_contributingSubnetsHasBeenSet = true; m_contributingSubnets.push_back(std::move(value)); return *this; }
96 inline ExpectedRoute& AddContributingSubnets(const char* value) { m_contributingSubnetsHasBeenSet = true; m_contributingSubnets.push_back(value); return *this; }
98
100
103 inline const Aws::Vector<Aws::String>& GetAllowedTargets() const{ return m_allowedTargets; }
104 inline bool AllowedTargetsHasBeenSet() const { return m_allowedTargetsHasBeenSet; }
105 inline void SetAllowedTargets(const Aws::Vector<Aws::String>& value) { m_allowedTargetsHasBeenSet = true; m_allowedTargets = value; }
106 inline void SetAllowedTargets(Aws::Vector<Aws::String>&& value) { m_allowedTargetsHasBeenSet = true; m_allowedTargets = std::move(value); }
107 inline ExpectedRoute& WithAllowedTargets(const Aws::Vector<Aws::String>& value) { SetAllowedTargets(value); return *this;}
108 inline ExpectedRoute& WithAllowedTargets(Aws::Vector<Aws::String>&& value) { SetAllowedTargets(std::move(value)); return *this;}
109 inline ExpectedRoute& AddAllowedTargets(const Aws::String& value) { m_allowedTargetsHasBeenSet = true; m_allowedTargets.push_back(value); return *this; }
110 inline ExpectedRoute& AddAllowedTargets(Aws::String&& value) { m_allowedTargetsHasBeenSet = true; m_allowedTargets.push_back(std::move(value)); return *this; }
111 inline ExpectedRoute& AddAllowedTargets(const char* value) { m_allowedTargetsHasBeenSet = true; m_allowedTargets.push_back(value); return *this; }
113
115
118 inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
119 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
120 inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
121 inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
122 inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
123 inline ExpectedRoute& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;}
124 inline ExpectedRoute& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
125 inline ExpectedRoute& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
127 private:
128
129 Aws::String m_ipV4Cidr;
130 bool m_ipV4CidrHasBeenSet = false;
131
132 Aws::String m_prefixListId;
133 bool m_prefixListIdHasBeenSet = false;
134
135 Aws::String m_ipV6Cidr;
136 bool m_ipV6CidrHasBeenSet = false;
137
138 Aws::Vector<Aws::String> m_contributingSubnets;
139 bool m_contributingSubnetsHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_allowedTargets;
142 bool m_allowedTargetsHasBeenSet = false;
143
144 Aws::String m_routeTableId;
145 bool m_routeTableIdHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace FMS
150} // namespace Aws
ExpectedRoute & AddContributingSubnets(Aws::String &&value)
void SetIpV4Cidr(Aws::String &&value)
void SetAllowedTargets(Aws::Vector< Aws::String > &&value)
ExpectedRoute & WithContributingSubnets(const Aws::Vector< Aws::String > &value)
void SetPrefixListId(const char *value)
ExpectedRoute & WithRouteTableId(Aws::String &&value)
ExpectedRoute & WithPrefixListId(const char *value)
ExpectedRoute & WithContributingSubnets(Aws::Vector< Aws::String > &&value)
ExpectedRoute & AddContributingSubnets(const char *value)
ExpectedRoute & WithAllowedTargets(const Aws::Vector< Aws::String > &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpV6Cidr(const Aws::String &value)
ExpectedRoute & WithPrefixListId(const Aws::String &value)
ExpectedRoute & WithIpV6Cidr(Aws::String &&value)
ExpectedRoute & WithPrefixListId(Aws::String &&value)
void SetRouteTableId(const Aws::String &value)
AWS_FMS_API ExpectedRoute(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIpV6Cidr() const
ExpectedRoute & AddAllowedTargets(const Aws::String &value)
ExpectedRoute & WithRouteTableId(const Aws::String &value)
ExpectedRoute & WithIpV4Cidr(Aws::String &&value)
ExpectedRoute & WithRouteTableId(const char *value)
void SetIpV6Cidr(Aws::String &&value)
void SetIpV6Cidr(const char *value)
ExpectedRoute & WithIpV6Cidr(const char *value)
void SetPrefixListId(Aws::String &&value)
void SetIpV4Cidr(const char *value)
void SetContributingSubnets(const Aws::Vector< Aws::String > &value)
AWS_FMS_API ExpectedRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
ExpectedRoute & WithIpV4Cidr(const char *value)
void SetAllowedTargets(const Aws::Vector< Aws::String > &value)
ExpectedRoute & WithAllowedTargets(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetContributingSubnets() const
const Aws::String & GetPrefixListId() const
const Aws::Vector< Aws::String > & GetAllowedTargets() const
bool ContributingSubnetsHasBeenSet() const
ExpectedRoute & AddAllowedTargets(const char *value)
ExpectedRoute & WithIpV4Cidr(const Aws::String &value)
ExpectedRoute & WithIpV6Cidr(const Aws::String &value)
ExpectedRoute & AddContributingSubnets(const Aws::String &value)
const Aws::String & GetIpV4Cidr() const
const Aws::String & GetRouteTableId() const
void SetRouteTableId(const char *value)
void SetIpV4Cidr(const Aws::String &value)
void SetPrefixListId(const Aws::String &value)
void SetContributingSubnets(Aws::Vector< Aws::String > &&value)
void SetRouteTableId(Aws::String &&value)
ExpectedRoute & AddAllowedTargets(Aws::String &&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