AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualRouterRef.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 VirtualRouterRef();
37 AWS_APPMESH_API VirtualRouterRef(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 VirtualRouterRef& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline VirtualRouterRef& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline VirtualRouterRef& 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 VirtualRouterRef& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline VirtualRouterRef& 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 VirtualRouterRef& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
78 inline VirtualRouterRef& 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 VirtualRouterRef& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
91 inline VirtualRouterRef& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
92 inline VirtualRouterRef& 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 VirtualRouterRef& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
109 inline VirtualRouterRef& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
110 inline VirtualRouterRef& 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 VirtualRouterRef& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
127 inline VirtualRouterRef& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
128 inline VirtualRouterRef& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
130
132
136 inline long long GetVersion() const{ return m_version; }
137 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
138 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
139 inline VirtualRouterRef& WithVersion(long long value) { SetVersion(value); return *this;}
141
143
146 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
147 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
148 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
149 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
150 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
151 inline VirtualRouterRef& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
152 inline VirtualRouterRef& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
153 inline VirtualRouterRef& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
155 private:
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt;
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedAt;
164 bool m_lastUpdatedAtHasBeenSet = false;
165
166 Aws::String m_meshName;
167 bool m_meshNameHasBeenSet = false;
168
169 Aws::String m_meshOwner;
170 bool m_meshOwnerHasBeenSet = false;
171
172 Aws::String m_resourceOwner;
173 bool m_resourceOwnerHasBeenSet = false;
174
175 long long m_version;
176 bool m_versionHasBeenSet = false;
177
178 Aws::String m_virtualRouterName;
179 bool m_virtualRouterNameHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace AppMesh
184} // namespace Aws
VirtualRouterRef & WithArn(const char *value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualRouterRef & WithMeshOwner(const Aws::String &value)
VirtualRouterRef & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetVirtualRouterName() const
VirtualRouterRef & WithVirtualRouterName(Aws::String &&value)
void SetVirtualRouterName(const Aws::String &value)
void SetResourceOwner(const Aws::String &value)
VirtualRouterRef & WithVirtualRouterName(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
VirtualRouterRef & WithMeshOwner(const char *value)
void SetMeshOwner(Aws::String &&value)
AWS_APPMESH_API VirtualRouterRef & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMeshName(Aws::String &&value)
VirtualRouterRef & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetResourceOwner() const
VirtualRouterRef & WithVersion(long long value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetMeshOwner() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
VirtualRouterRef & WithResourceOwner(const char *value)
VirtualRouterRef & WithMeshName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetVirtualRouterName(Aws::String &&value)
AWS_APPMESH_API VirtualRouterRef(Aws::Utils::Json::JsonView jsonValue)
void SetResourceOwner(Aws::String &&value)
VirtualRouterRef & WithMeshName(const char *value)
VirtualRouterRef & WithVirtualRouterName(const Aws::String &value)
VirtualRouterRef & WithResourceOwner(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetMeshOwner(const Aws::String &value)
VirtualRouterRef & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
VirtualRouterRef & WithResourceOwner(Aws::String &&value)
void SetVirtualRouterName(const char *value)
VirtualRouterRef & WithMeshOwner(Aws::String &&value)
VirtualRouterRef & WithMeshName(Aws::String &&value)
void SetMeshName(const Aws::String &value)
VirtualRouterRef & WithArn(Aws::String &&value)
const Aws::String & GetMeshName() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
VirtualRouterRef & WithArn(const Aws::String &value)
VirtualRouterRef & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue