AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename MeshNameT = Aws::String>
51 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
52 template<typename MeshNameT = Aws::String>
53 VirtualGatewayData& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
55
57
58 inline const ResourceMetadata& GetMetadata() const { return m_metadata; }
59 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
60 template<typename MetadataT = ResourceMetadata>
61 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
62 template<typename MetadataT = ResourceMetadata>
63 VirtualGatewayData& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
65
67
70 inline const VirtualGatewaySpec& GetSpec() const { return m_spec; }
71 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
72 template<typename SpecT = VirtualGatewaySpec>
73 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
74 template<typename SpecT = VirtualGatewaySpec>
75 VirtualGatewayData& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
77
79
82 inline const VirtualGatewayStatus& GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 template<typename StatusT = VirtualGatewayStatus>
85 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
86 template<typename StatusT = VirtualGatewayStatus>
87 VirtualGatewayData& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
89
91
94 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
95 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
96 template<typename VirtualGatewayNameT = Aws::String>
97 void SetVirtualGatewayName(VirtualGatewayNameT&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value); }
98 template<typename VirtualGatewayNameT = Aws::String>
99 VirtualGatewayData& WithVirtualGatewayName(VirtualGatewayNameT&& value) { SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value)); return *this;}
101 private:
102
103 Aws::String m_meshName;
104 bool m_meshNameHasBeenSet = false;
105
106 ResourceMetadata m_metadata;
107 bool m_metadataHasBeenSet = false;
108
109 VirtualGatewaySpec m_spec;
110 bool m_specHasBeenSet = false;
111
112 VirtualGatewayStatus m_status;
113 bool m_statusHasBeenSet = false;
114
115 Aws::String m_virtualGatewayName;
116 bool m_virtualGatewayNameHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace AppMesh
121} // namespace Aws
VirtualGatewayData & WithMeshName(MeshNameT &&value)
VirtualGatewayData & WithSpec(SpecT &&value)
const Aws::String & GetMeshName() const
void SetVirtualGatewayName(VirtualGatewayNameT &&value)
AWS_APPMESH_API VirtualGatewayData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualGatewayData(Aws::Utils::Json::JsonView jsonValue)
const VirtualGatewayStatus & GetStatus() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayData & WithMetadata(MetadataT &&value)
VirtualGatewayData & WithStatus(StatusT &&value)
const VirtualGatewaySpec & GetSpec() const
const Aws::String & GetVirtualGatewayName() const
AWS_APPMESH_API VirtualGatewayData()=default
const ResourceMetadata & GetMetadata() const
VirtualGatewayData & WithVirtualGatewayName(VirtualGatewayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue