AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 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 VirtualRouterRef& 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 VirtualRouterRef& 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 VirtualRouterRef& 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 VirtualRouterRef& 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 VirtualRouterRef& 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 VirtualRouterRef& 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 VirtualRouterRef& WithVersion(long long value) { SetVersion(value); return *this;}
133
135
138 inline const Aws::String& GetVirtualRouterName() const { return m_virtualRouterName; }
139 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
140 template<typename VirtualRouterNameT = Aws::String>
141 void SetVirtualRouterName(VirtualRouterNameT&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::forward<VirtualRouterNameT>(value); }
142 template<typename VirtualRouterNameT = Aws::String>
143 VirtualRouterRef& WithVirtualRouterName(VirtualRouterNameT&& value) { SetVirtualRouterName(std::forward<VirtualRouterNameT>(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_virtualRouterName;
169 bool m_virtualRouterNameHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace AppMesh
174} // namespace Aws
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVirtualRouterName() const
AWS_APPMESH_API VirtualRouterRef()=default
VirtualRouterRef & WithArn(ArnT &&value)
void SetVirtualRouterName(VirtualRouterNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
VirtualRouterRef & WithVirtualRouterName(VirtualRouterNameT &&value)
AWS_APPMESH_API VirtualRouterRef & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceOwner(ResourceOwnerT &&value)
VirtualRouterRef & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetResourceOwner() const
VirtualRouterRef & WithMeshName(MeshNameT &&value)
VirtualRouterRef & WithVersion(long long value)
const Aws::String & GetMeshOwner() const
AWS_APPMESH_API VirtualRouterRef(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
VirtualRouterRef & WithResourceOwner(ResourceOwnerT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetMeshName() const
VirtualRouterRef & WithMeshOwner(MeshOwnerT &&value)
const Aws::String & GetArn() const
VirtualRouterRef & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue