AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualGatewayData.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/VirtualGatewaySpec.h>
11#include <aws/appmesh/model/VirtualGatewayStatus.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 VirtualGatewayData();
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 VirtualGatewayData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
54 inline VirtualGatewayData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
55 inline VirtualGatewayData& WithMeshName(const char* value) { SetMeshName(value); return *this;}
57
59
60 inline const ResourceMetadata& GetMetadata() const{ return m_metadata; }
61 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
62 inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
63 inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
64 inline VirtualGatewayData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
65 inline VirtualGatewayData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
67
69
72 inline const VirtualGatewaySpec& GetSpec() const{ return m_spec; }
73 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
74 inline void SetSpec(const VirtualGatewaySpec& value) { m_specHasBeenSet = true; m_spec = value; }
75 inline void SetSpec(VirtualGatewaySpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
76 inline VirtualGatewayData& WithSpec(const VirtualGatewaySpec& value) { SetSpec(value); return *this;}
77 inline VirtualGatewayData& WithSpec(VirtualGatewaySpec&& value) { SetSpec(std::move(value)); return *this;}
79
81
84 inline const VirtualGatewayStatus& GetStatus() const{ return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(const VirtualGatewayStatus& value) { m_statusHasBeenSet = true; m_status = value; }
87 inline void SetStatus(VirtualGatewayStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
88 inline VirtualGatewayData& WithStatus(const VirtualGatewayStatus& value) { SetStatus(value); return *this;}
89 inline VirtualGatewayData& WithStatus(VirtualGatewayStatus&& value) { SetStatus(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
97 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
98 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
99 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
100 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
101 inline VirtualGatewayData& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
102 inline VirtualGatewayData& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
103 inline VirtualGatewayData& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
105 private:
106
107 Aws::String m_meshName;
108 bool m_meshNameHasBeenSet = false;
109
110 ResourceMetadata m_metadata;
111 bool m_metadataHasBeenSet = false;
112
113 VirtualGatewaySpec m_spec;
114 bool m_specHasBeenSet = false;
115
116 VirtualGatewayStatus m_status;
117 bool m_statusHasBeenSet = false;
118
119 Aws::String m_virtualGatewayName;
120 bool m_virtualGatewayNameHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace AppMesh
125} // namespace Aws
void SetStatus(VirtualGatewayStatus &&value)
void SetSpec(VirtualGatewaySpec &&value)
void SetSpec(const VirtualGatewaySpec &value)
VirtualGatewayData & WithStatus(const VirtualGatewayStatus &value)
VirtualGatewayData & WithSpec(VirtualGatewaySpec &&value)
const Aws::String & GetMeshName() const
AWS_APPMESH_API VirtualGatewayData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualGatewayData(Aws::Utils::Json::JsonView jsonValue)
void SetMetadata(const ResourceMetadata &value)
VirtualGatewayData & WithSpec(const VirtualGatewaySpec &value)
const VirtualGatewayStatus & GetStatus() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayData & WithMeshName(const Aws::String &value)
void SetVirtualGatewayName(const Aws::String &value)
const VirtualGatewaySpec & GetSpec() const
VirtualGatewayData & WithMeshName(const char *value)
const Aws::String & GetVirtualGatewayName() const
VirtualGatewayData & WithStatus(VirtualGatewayStatus &&value)
void SetMetadata(ResourceMetadata &&value)
VirtualGatewayData & WithMeshName(Aws::String &&value)
void SetVirtualGatewayName(Aws::String &&value)
VirtualGatewayData & WithVirtualGatewayName(const char *value)
VirtualGatewayData & WithVirtualGatewayName(Aws::String &&value)
VirtualGatewayData & WithMetadata(const ResourceMetadata &value)
const ResourceMetadata & GetMetadata() const
VirtualGatewayData & WithVirtualGatewayName(const Aws::String &value)
VirtualGatewayData & WithMetadata(ResourceMetadata &&value)
void SetMeshName(const Aws::String &value)
void SetStatus(const VirtualGatewayStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue