AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GatewayRouteRef.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPMESH_API GatewayRouteRef();
37 AWS_APPMESH_API GatewayRouteRef(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline GatewayRouteRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline GatewayRouteRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline GatewayRouteRef& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline GatewayRouteRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline GatewayRouteRef& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
73 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
74 inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
75 inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
76 inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
77 inline GatewayRouteRef& WithGatewayRouteName(const Aws::String& value) { SetGatewayRouteName(value); return *this;}
78 inline GatewayRouteRef& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
79 inline GatewayRouteRef& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
88 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
89 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
90 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
91 inline GatewayRouteRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
92 inline GatewayRouteRef& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetMeshName() const{ return m_meshName; }
100 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
101 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
102 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
103 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
104 inline GatewayRouteRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
105 inline GatewayRouteRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
106 inline GatewayRouteRef& WithMeshName(const char* value) { SetMeshName(value); return *this;}
108
110
117 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
118 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
119 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
120 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
121 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
122 inline GatewayRouteRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
123 inline GatewayRouteRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
124 inline GatewayRouteRef& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
126
128
135 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
136 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
137 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
138 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
139 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
140 inline GatewayRouteRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
141 inline GatewayRouteRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
142 inline GatewayRouteRef& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
144
146
150 inline long long GetVersion() const{ return m_version; }
151 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
152 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
153 inline GatewayRouteRef& WithVersion(long long value) { SetVersion(value); return *this;}
155
157
160 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
161 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
162 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
163 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
164 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
165 inline GatewayRouteRef& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
166 inline GatewayRouteRef& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
167 inline GatewayRouteRef& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
169 private:
170
171 Aws::String m_arn;
172 bool m_arnHasBeenSet = false;
173
174 Aws::Utils::DateTime m_createdAt;
175 bool m_createdAtHasBeenSet = false;
176
177 Aws::String m_gatewayRouteName;
178 bool m_gatewayRouteNameHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastUpdatedAt;
181 bool m_lastUpdatedAtHasBeenSet = false;
182
183 Aws::String m_meshName;
184 bool m_meshNameHasBeenSet = false;
185
186 Aws::String m_meshOwner;
187 bool m_meshOwnerHasBeenSet = false;
188
189 Aws::String m_resourceOwner;
190 bool m_resourceOwnerHasBeenSet = false;
191
192 long long m_version;
193 bool m_versionHasBeenSet = false;
194
195 Aws::String m_virtualGatewayName;
196 bool m_virtualGatewayNameHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace AppMesh
201} // namespace Aws
void SetGatewayRouteName(const char *value)
void SetMeshOwner(const Aws::String &value)
GatewayRouteRef & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
GatewayRouteRef & WithResourceOwner(const Aws::String &value)
void SetVirtualGatewayName(Aws::String &&value)
GatewayRouteRef & WithGatewayRouteName(const Aws::String &value)
void SetArn(Aws::String &&value)
GatewayRouteRef & WithGatewayRouteName(const char *value)
AWS_APPMESH_API GatewayRouteRef(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteRef & WithMeshOwner(const Aws::String &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GatewayRouteRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GatewayRouteRef & WithMeshOwner(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GatewayRouteRef & WithMeshName(Aws::String &&value)
void SetResourceOwner(const Aws::String &value)
GatewayRouteRef & WithVirtualGatewayName(Aws::String &&value)
void SetGatewayRouteName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetArn() const
GatewayRouteRef & WithVersion(long long value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetMeshOwner(Aws::String &&value)
GatewayRouteRef & WithVirtualGatewayName(const char *value)
GatewayRouteRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetMeshName() const
GatewayRouteRef & WithMeshName(const char *value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayRouteRef & WithCreatedAt(Aws::Utils::DateTime &&value)
GatewayRouteRef & WithArn(const char *value)
const Aws::String & GetVirtualGatewayName() const
void SetResourceOwner(Aws::String &&value)
GatewayRouteRef & WithResourceOwner(Aws::String &&value)
GatewayRouteRef & WithArn(Aws::String &&value)
void SetGatewayRouteName(const Aws::String &value)
GatewayRouteRef & WithGatewayRouteName(Aws::String &&value)
void SetVirtualGatewayName(const Aws::String &value)
GatewayRouteRef & WithResourceOwner(const char *value)
void SetVirtualGatewayName(const char *value)
void SetMeshName(Aws::String &&value)
const Aws::String & GetGatewayRouteName() const
GatewayRouteRef & WithMeshOwner(const char *value)
void SetResourceOwner(const char *value)
GatewayRouteRef & WithMeshName(const Aws::String &value)
AWS_APPMESH_API GatewayRouteRef & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteRef & WithVirtualGatewayName(const Aws::String &value)
GatewayRouteRef & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetResourceOwner() const
void SetMeshName(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetMeshOwner() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue