AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualRouterData.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/VirtualRouterSpec.h>
11#include <aws/appmesh/model/VirtualRouterStatus.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 VirtualRouterData();
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 VirtualRouterData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
54 inline VirtualRouterData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
55 inline VirtualRouterData& 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 VirtualRouterData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
67 inline VirtualRouterData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
69
71
74 inline const VirtualRouterSpec& GetSpec() const{ return m_spec; }
75 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
76 inline void SetSpec(const VirtualRouterSpec& value) { m_specHasBeenSet = true; m_spec = value; }
77 inline void SetSpec(VirtualRouterSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
78 inline VirtualRouterData& WithSpec(const VirtualRouterSpec& value) { SetSpec(value); return *this;}
79 inline VirtualRouterData& WithSpec(VirtualRouterSpec&& value) { SetSpec(std::move(value)); return *this;}
81
83
86 inline const VirtualRouterStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const VirtualRouterStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(VirtualRouterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline VirtualRouterData& WithStatus(const VirtualRouterStatus& value) { SetStatus(value); return *this;}
91 inline VirtualRouterData& WithStatus(VirtualRouterStatus&& value) { SetStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
99 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
100 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
101 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
102 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
103 inline VirtualRouterData& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
104 inline VirtualRouterData& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
105 inline VirtualRouterData& WithVirtualRouterName(const char* value) { SetVirtualRouterName(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 VirtualRouterSpec m_spec;
116 bool m_specHasBeenSet = false;
117
118 VirtualRouterStatus m_status;
119 bool m_statusHasBeenSet = false;
120
121 Aws::String m_virtualRouterName;
122 bool m_virtualRouterNameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace AppMesh
127} // namespace Aws
void SetSpec(VirtualRouterSpec &&value)
void SetMetadata(ResourceMetadata &&value)
AWS_APPMESH_API VirtualRouterData(Aws::Utils::Json::JsonView jsonValue)
void SetSpec(const VirtualRouterSpec &value)
VirtualRouterData & WithMetadata(const ResourceMetadata &value)
const Aws::String & GetVirtualRouterName() const
const VirtualRouterStatus & GetStatus() const
AWS_APPMESH_API VirtualRouterData & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualRouterData & WithStatus(VirtualRouterStatus &&value)
const VirtualRouterSpec & GetSpec() const
VirtualRouterData & WithMeshName(const char *value)
VirtualRouterData & WithStatus(const VirtualRouterStatus &value)
const Aws::String & GetMeshName() const
VirtualRouterData & WithVirtualRouterName(Aws::String &&value)
void SetStatus(const VirtualRouterStatus &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualRouterName(Aws::String &&value)
VirtualRouterData & WithMeshName(const Aws::String &value)
const ResourceMetadata & GetMetadata() const
void SetMeshName(const Aws::String &value)
void SetMetadata(const ResourceMetadata &value)
void SetVirtualRouterName(const Aws::String &value)
VirtualRouterData & WithVirtualRouterName(const char *value)
VirtualRouterData & WithMetadata(ResourceMetadata &&value)
VirtualRouterData & WithMeshName(Aws::String &&value)
VirtualRouterData & WithSpec(VirtualRouterSpec &&value)
VirtualRouterData & WithSpec(const VirtualRouterSpec &value)
VirtualRouterData & WithVirtualRouterName(const Aws::String &value)
void SetStatus(VirtualRouterStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue