AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteRef.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 RouteRef();
37 AWS_APPMESH_API RouteRef(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPMESH_API RouteRef& operator=(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 RouteRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RouteRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RouteRef& 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 RouteRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline RouteRef& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
74 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
75 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
76 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
77 inline RouteRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
78 inline RouteRef& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetMeshName() const{ return m_meshName; }
86 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
87 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
88 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
89 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
90 inline RouteRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
91 inline RouteRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
92 inline RouteRef& WithMeshName(const char* value) { SetMeshName(value); return *this;}
94
96
103 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
104 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
105 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
106 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
107 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
108 inline RouteRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
109 inline RouteRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
110 inline RouteRef& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
112
114
121 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
122 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
123 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
124 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
125 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
126 inline RouteRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
127 inline RouteRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
128 inline RouteRef& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
130
132
135 inline const Aws::String& GetRouteName() const{ return m_routeName; }
136 inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
137 inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
138 inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
139 inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
140 inline RouteRef& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
141 inline RouteRef& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
142 inline RouteRef& WithRouteName(const char* value) { SetRouteName(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 RouteRef& WithVersion(long long value) { SetVersion(value); return *this;}
155
157
160 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
161 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
162 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
163 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
164 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
165 inline RouteRef& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
166 inline RouteRef& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
167 inline RouteRef& WithVirtualRouterName(const char* value) { SetVirtualRouterName(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::Utils::DateTime m_lastUpdatedAt;
178 bool m_lastUpdatedAtHasBeenSet = false;
179
180 Aws::String m_meshName;
181 bool m_meshNameHasBeenSet = false;
182
183 Aws::String m_meshOwner;
184 bool m_meshOwnerHasBeenSet = false;
185
186 Aws::String m_resourceOwner;
187 bool m_resourceOwnerHasBeenSet = false;
188
189 Aws::String m_routeName;
190 bool m_routeNameHasBeenSet = false;
191
192 long long m_version;
193 bool m_versionHasBeenSet = false;
194
195 Aws::String m_virtualRouterName;
196 bool m_virtualRouterNameHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace AppMesh
201} // namespace Aws
RouteRef & WithArn(const char *value)
Definition RouteRef.h:53
RouteRef & WithMeshOwner(Aws::String &&value)
Definition RouteRef.h:109
void SetMeshName(const char *value)
Definition RouteRef.h:89
void SetRouteName(Aws::String &&value)
Definition RouteRef.h:138
void SetRouteName(const char *value)
Definition RouteRef.h:139
bool RouteNameHasBeenSet() const
Definition RouteRef.h:136
bool MeshOwnerHasBeenSet() const
Definition RouteRef.h:104
void SetRouteName(const Aws::String &value)
Definition RouteRef.h:137
bool CreatedAtHasBeenSet() const
Definition RouteRef.h:61
const Aws::String & GetRouteName() const
Definition RouteRef.h:135
RouteRef & WithVersion(long long value)
Definition RouteRef.h:153
AWS_APPMESH_API RouteRef & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualRouterName(const Aws::String &value)
Definition RouteRef.h:162
long long GetVersion() const
Definition RouteRef.h:150
RouteRef & WithMeshName(const char *value)
Definition RouteRef.h:92
void SetResourceOwner(Aws::String &&value)
Definition RouteRef.h:124
RouteRef & WithArn(const Aws::String &value)
Definition RouteRef.h:51
RouteRef & WithVirtualRouterName(Aws::String &&value)
Definition RouteRef.h:166
void SetArn(Aws::String &&value)
Definition RouteRef.h:49
void SetMeshOwner(const Aws::String &value)
Definition RouteRef.h:105
RouteRef & WithResourceOwner(const Aws::String &value)
Definition RouteRef.h:126
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition RouteRef.h:62
RouteRef & WithRouteName(Aws::String &&value)
Definition RouteRef.h:141
void SetArn(const char *value)
Definition RouteRef.h:50
void SetArn(const Aws::String &value)
Definition RouteRef.h:48
const Aws::String & GetResourceOwner() const
Definition RouteRef.h:121
RouteRef & WithVirtualRouterName(const char *value)
Definition RouteRef.h:167
RouteRef & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition RouteRef.h:64
RouteRef & WithMeshName(const Aws::String &value)
Definition RouteRef.h:90
void SetResourceOwner(const char *value)
Definition RouteRef.h:125
bool LastUpdatedAtHasBeenSet() const
Definition RouteRef.h:74
void SetVirtualRouterName(const char *value)
Definition RouteRef.h:164
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition RouteRef.h:63
bool MeshNameHasBeenSet() const
Definition RouteRef.h:86
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition RouteRef.h:73
void SetMeshOwner(const char *value)
Definition RouteRef.h:107
void SetMeshName(const Aws::String &value)
Definition RouteRef.h:87
RouteRef & WithRouteName(const Aws::String &value)
Definition RouteRef.h:140
const Aws::String & GetArn() const
Definition RouteRef.h:46
RouteRef & WithResourceOwner(const char *value)
Definition RouteRef.h:128
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceOwner(const Aws::String &value)
Definition RouteRef.h:123
RouteRef & WithMeshName(Aws::String &&value)
Definition RouteRef.h:91
bool VirtualRouterNameHasBeenSet() const
Definition RouteRef.h:161
RouteRef & WithRouteName(const char *value)
Definition RouteRef.h:142
RouteRef & WithMeshOwner(const char *value)
Definition RouteRef.h:110
const Aws::String & GetMeshOwner() const
Definition RouteRef.h:103
const Aws::Utils::DateTime & GetCreatedAt() const
Definition RouteRef.h:60
AWS_APPMESH_API RouteRef(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualRouterName(Aws::String &&value)
Definition RouteRef.h:163
RouteRef & WithResourceOwner(Aws::String &&value)
Definition RouteRef.h:127
RouteRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition RouteRef.h:78
void SetMeshOwner(Aws::String &&value)
Definition RouteRef.h:106
RouteRef & WithVirtualRouterName(const Aws::String &value)
Definition RouteRef.h:165
void SetMeshName(Aws::String &&value)
Definition RouteRef.h:88
RouteRef & WithMeshOwner(const Aws::String &value)
Definition RouteRef.h:108
bool ResourceOwnerHasBeenSet() const
Definition RouteRef.h:122
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition RouteRef.h:76
const Aws::String & GetVirtualRouterName() const
Definition RouteRef.h:160
RouteRef & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition RouteRef.h:65
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition RouteRef.h:75
RouteRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition RouteRef.h:77
const Aws::String & GetMeshName() const
Definition RouteRef.h:85
void SetVersion(long long value)
Definition RouteRef.h:152
RouteRef & WithArn(Aws::String &&value)
Definition RouteRef.h:52
AWS_APPMESH_API RouteRef()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue