AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualNodeData.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appmesh/model/ResourceMetadata.h>
10#include <aws/appmesh/model/VirtualNodeSpec.h>
11#include <aws/appmesh/model/VirtualNodeStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppMesh
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPMESH_API VirtualNodeData();
39 AWS_APPMESH_API VirtualNodeData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetMeshName() const{ return m_meshName; }
49 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
50 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
51 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
52 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
53 inline VirtualNodeData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
54 inline VirtualNodeData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
55 inline VirtualNodeData& WithMeshName(const char* value) { SetMeshName(value); return *this;}
57
59
62 inline const ResourceMetadata& GetMetadata() const{ return m_metadata; }
63 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
64 inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
65 inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
66 inline VirtualNodeData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
67 inline VirtualNodeData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
69
71
74 inline const VirtualNodeSpec& GetSpec() const{ return m_spec; }
75 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
76 inline void SetSpec(const VirtualNodeSpec& value) { m_specHasBeenSet = true; m_spec = value; }
77 inline void SetSpec(VirtualNodeSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
78 inline VirtualNodeData& WithSpec(const VirtualNodeSpec& value) { SetSpec(value); return *this;}
79 inline VirtualNodeData& WithSpec(VirtualNodeSpec&& value) { SetSpec(std::move(value)); return *this;}
81
83
86 inline const VirtualNodeStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const VirtualNodeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(VirtualNodeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline VirtualNodeData& WithStatus(const VirtualNodeStatus& value) { SetStatus(value); return *this;}
91 inline VirtualNodeData& WithStatus(VirtualNodeStatus&& value) { SetStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetVirtualNodeName() const{ return m_virtualNodeName; }
99 inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; }
100 inline void SetVirtualNodeName(const Aws::String& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = value; }
101 inline void SetVirtualNodeName(Aws::String&& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = std::move(value); }
102 inline void SetVirtualNodeName(const char* value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName.assign(value); }
103 inline VirtualNodeData& WithVirtualNodeName(const Aws::String& value) { SetVirtualNodeName(value); return *this;}
104 inline VirtualNodeData& WithVirtualNodeName(Aws::String&& value) { SetVirtualNodeName(std::move(value)); return *this;}
105 inline VirtualNodeData& WithVirtualNodeName(const char* value) { SetVirtualNodeName(value); return *this;}
107 private:
108
109 Aws::String m_meshName;
110 bool m_meshNameHasBeenSet = false;
111
112 ResourceMetadata m_metadata;
113 bool m_metadataHasBeenSet = false;
114
115 VirtualNodeSpec m_spec;
116 bool m_specHasBeenSet = false;
117
118 VirtualNodeStatus m_status;
119 bool m_statusHasBeenSet = false;
120
121 Aws::String m_virtualNodeName;
122 bool m_virtualNodeNameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace AppMesh
127} // namespace Aws
void SetStatus(const VirtualNodeStatus &value)
const Aws::String & GetMeshName() const
VirtualNodeData & WithVirtualNodeName(Aws::String &&value)
VirtualNodeData & WithStatus(const VirtualNodeStatus &value)
VirtualNodeData & WithMeshName(const Aws::String &value)
VirtualNodeData & WithMeshName(const char *value)
VirtualNodeData & WithStatus(VirtualNodeStatus &&value)
VirtualNodeData & WithMeshName(Aws::String &&value)
void SetVirtualNodeName(const char *value)
void SetSpec(VirtualNodeSpec &&value)
const Aws::String & GetVirtualNodeName() const
VirtualNodeData & WithMetadata(const ResourceMetadata &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API VirtualNodeData(Aws::Utils::Json::JsonView jsonValue)
void SetMeshName(Aws::String &&value)
VirtualNodeData & WithVirtualNodeName(const char *value)
void SetMetadata(const ResourceMetadata &value)
VirtualNodeData & WithSpec(VirtualNodeSpec &&value)
void SetStatus(VirtualNodeStatus &&value)
AWS_APPMESH_API VirtualNodeData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpec(const VirtualNodeSpec &value)
const VirtualNodeStatus & GetStatus() const
VirtualNodeData & WithMetadata(ResourceMetadata &&value)
VirtualNodeData & WithSpec(const VirtualNodeSpec &value)
const VirtualNodeSpec & GetSpec() const
void SetMeshName(const char *value)
void SetMetadata(ResourceMetadata &&value)
void SetMeshName(const Aws::String &value)
VirtualNodeData & WithVirtualNodeName(const Aws::String &value)
void SetVirtualNodeName(Aws::String &&value)
const ResourceMetadata & GetMetadata() const
void SetVirtualNodeName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue