AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GatewayRouteData.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/GatewayRouteSpec.h>
11#include <aws/appmesh/model/GatewayRouteStatus.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 GatewayRouteData();
39 AWS_APPMESH_API GatewayRouteData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetGatewayRouteName() const{ return m_gatewayRouteName; }
49 inline bool GatewayRouteNameHasBeenSet() const { return m_gatewayRouteNameHasBeenSet; }
50 inline void SetGatewayRouteName(const Aws::String& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = value; }
51 inline void SetGatewayRouteName(Aws::String&& value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName = std::move(value); }
52 inline void SetGatewayRouteName(const char* value) { m_gatewayRouteNameHasBeenSet = true; m_gatewayRouteName.assign(value); }
53 inline GatewayRouteData& WithGatewayRouteName(const Aws::String& value) { SetGatewayRouteName(value); return *this;}
54 inline GatewayRouteData& WithGatewayRouteName(Aws::String&& value) { SetGatewayRouteName(std::move(value)); return *this;}
55 inline GatewayRouteData& WithGatewayRouteName(const char* value) { SetGatewayRouteName(value); return *this;}
57
59
62 inline const Aws::String& GetMeshName() const{ return m_meshName; }
63 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
64 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
65 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
66 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
67 inline GatewayRouteData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
68 inline GatewayRouteData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
69 inline GatewayRouteData& WithMeshName(const char* value) { SetMeshName(value); return *this;}
71
73
74 inline const ResourceMetadata& GetMetadata() const{ return m_metadata; }
75 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
76 inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
77 inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
78 inline GatewayRouteData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;}
79 inline GatewayRouteData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;}
81
83
86 inline const GatewayRouteSpec& GetSpec() const{ return m_spec; }
87 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
88 inline void SetSpec(const GatewayRouteSpec& value) { m_specHasBeenSet = true; m_spec = value; }
89 inline void SetSpec(GatewayRouteSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
90 inline GatewayRouteData& WithSpec(const GatewayRouteSpec& value) { SetSpec(value); return *this;}
91 inline GatewayRouteData& WithSpec(GatewayRouteSpec&& value) { SetSpec(std::move(value)); return *this;}
93
95
98 inline const GatewayRouteStatus& GetStatus() const{ return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
100 inline void SetStatus(const GatewayRouteStatus& value) { m_statusHasBeenSet = true; m_status = value; }
101 inline void SetStatus(GatewayRouteStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 inline GatewayRouteData& WithStatus(const GatewayRouteStatus& value) { SetStatus(value); return *this;}
103 inline GatewayRouteData& WithStatus(GatewayRouteStatus&& value) { SetStatus(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; }
111 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
112 inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; }
113 inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); }
114 inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); }
115 inline GatewayRouteData& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;}
116 inline GatewayRouteData& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;}
117 inline GatewayRouteData& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;}
119 private:
120
121 Aws::String m_gatewayRouteName;
122 bool m_gatewayRouteNameHasBeenSet = false;
123
124 Aws::String m_meshName;
125 bool m_meshNameHasBeenSet = false;
126
127 ResourceMetadata m_metadata;
128 bool m_metadataHasBeenSet = false;
129
130 GatewayRouteSpec m_spec;
131 bool m_specHasBeenSet = false;
132
133 GatewayRouteStatus m_status;
134 bool m_statusHasBeenSet = false;
135
136 Aws::String m_virtualGatewayName;
137 bool m_virtualGatewayNameHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace AppMesh
142} // namespace Aws
void SetSpec(const GatewayRouteSpec &value)
void SetGatewayRouteName(Aws::String &&value)
GatewayRouteData & WithMetadata(ResourceMetadata &&value)
void SetSpec(GatewayRouteSpec &&value)
GatewayRouteData & WithMeshName(const Aws::String &value)
void SetGatewayRouteName(const char *value)
const GatewayRouteStatus & GetStatus() const
AWS_APPMESH_API GatewayRouteData(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(GatewayRouteStatus &&value)
const GatewayRouteSpec & GetSpec() const
GatewayRouteData & WithGatewayRouteName(const char *value)
void SetMetadata(const ResourceMetadata &value)
GatewayRouteData & WithVirtualGatewayName(const char *value)
GatewayRouteData & WithVirtualGatewayName(const Aws::String &value)
GatewayRouteData & WithGatewayRouteName(const Aws::String &value)
GatewayRouteData & WithVirtualGatewayName(Aws::String &&value)
GatewayRouteData & WithStatus(GatewayRouteStatus &&value)
const ResourceMetadata & GetMetadata() const
void SetMetadata(ResourceMetadata &&value)
GatewayRouteData & WithSpec(GatewayRouteSpec &&value)
GatewayRouteData & WithSpec(const GatewayRouteSpec &value)
void SetVirtualGatewayName(const Aws::String &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualGatewayName(Aws::String &&value)
void SetVirtualGatewayName(const char *value)
const Aws::String & GetMeshName() const
GatewayRouteData & WithGatewayRouteName(Aws::String &&value)
void SetMeshName(Aws::String &&value)
GatewayRouteData & WithMetadata(const ResourceMetadata &value)
const Aws::String & GetGatewayRouteName() const
void SetStatus(const GatewayRouteStatus &value)
GatewayRouteData & WithStatus(const GatewayRouteStatus &value)
void SetGatewayRouteName(const Aws::String &value)
const Aws::String & GetVirtualGatewayName() const
void SetMeshName(const Aws::String &value)
AWS_APPMESH_API GatewayRouteData & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteData & WithMeshName(const char *value)
GatewayRouteData & WithMeshName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue