AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
VirtualNodeRef.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 VirtualNodeRef() = default;
37 AWS_APPMESH_API VirtualNodeRef(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 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 VirtualNodeRef& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template<typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 VirtualNodeRef& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
72 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
73 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
74 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
75 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
76 VirtualNodeRef& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
78
80
83 inline const Aws::String& GetMeshName() const { return m_meshName; }
84 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
85 template<typename MeshNameT = Aws::String>
86 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
87 template<typename MeshNameT = Aws::String>
88 VirtualNodeRef& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
90
92
99 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
100 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
101 template<typename MeshOwnerT = Aws::String>
102 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
103 template<typename MeshOwnerT = Aws::String>
104 VirtualNodeRef& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
106
108
115 inline const Aws::String& GetResourceOwner() const { return m_resourceOwner; }
116 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
117 template<typename ResourceOwnerT = Aws::String>
118 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
119 template<typename ResourceOwnerT = Aws::String>
120 VirtualNodeRef& WithResourceOwner(ResourceOwnerT&& value) { SetResourceOwner(std::forward<ResourceOwnerT>(value)); return *this;}
122
124
128 inline long long GetVersion() const { return m_version; }
129 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
130 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
131 inline VirtualNodeRef& WithVersion(long long value) { SetVersion(value); return *this;}
133
135
138 inline const Aws::String& GetVirtualNodeName() const { return m_virtualNodeName; }
139 inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; }
140 template<typename VirtualNodeNameT = Aws::String>
141 void SetVirtualNodeName(VirtualNodeNameT&& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = std::forward<VirtualNodeNameT>(value); }
142 template<typename VirtualNodeNameT = Aws::String>
143 VirtualNodeRef& WithVirtualNodeName(VirtualNodeNameT&& value) { SetVirtualNodeName(std::forward<VirtualNodeNameT>(value)); return *this;}
145 private:
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::Utils::DateTime m_createdAt{};
151 bool m_createdAtHasBeenSet = false;
152
153 Aws::Utils::DateTime m_lastUpdatedAt{};
154 bool m_lastUpdatedAtHasBeenSet = false;
155
156 Aws::String m_meshName;
157 bool m_meshNameHasBeenSet = false;
158
159 Aws::String m_meshOwner;
160 bool m_meshOwnerHasBeenSet = false;
161
162 Aws::String m_resourceOwner;
163 bool m_resourceOwnerHasBeenSet = false;
164
165 long long m_version{0};
166 bool m_versionHasBeenSet = false;
167
168 Aws::String m_virtualNodeName;
169 bool m_virtualNodeNameHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace AppMesh
174} // namespace Aws
VirtualNodeRef & WithMeshOwner(MeshOwnerT &&value)
void SetCreatedAt(CreatedAtT &&value)
VirtualNodeRef & WithCreatedAt(CreatedAtT &&value)
AWS_APPMESH_API VirtualNodeRef(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMeshName() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_APPMESH_API VirtualNodeRef & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetMeshOwner(MeshOwnerT &&value)
VirtualNodeRef & WithMeshName(MeshNameT &&value)
VirtualNodeRef & WithVirtualNodeName(VirtualNodeNameT &&value)
void SetMeshName(MeshNameT &&value)
void SetVirtualNodeName(VirtualNodeNameT &&value)
VirtualNodeRef & WithArn(ArnT &&value)
AWS_APPMESH_API VirtualNodeRef()=default
const Aws::String & GetVirtualNodeName() const
VirtualNodeRef & WithVersion(long long value)
const Aws::String & GetArn() const
const Aws::String & GetMeshOwner() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualNodeRef & WithResourceOwner(ResourceOwnerT &&value)
void SetResourceOwner(ResourceOwnerT &&value)
const Aws::String & GetResourceOwner() const
VirtualNodeRef & WithLastUpdatedAt(LastUpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue