AWS SDK for C++  1.9.19
AWS SDK for C++
VirtualServiceBackend.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const ClientPolicy& GetClientPolicy() const{ return m_clientPolicy; }
46 
50  inline bool ClientPolicyHasBeenSet() const { return m_clientPolicyHasBeenSet; }
51 
55  inline void SetClientPolicy(const ClientPolicy& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = value; }
56 
60  inline void SetClientPolicy(ClientPolicy&& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = std::move(value); }
61 
65  inline VirtualServiceBackend& WithClientPolicy(const ClientPolicy& value) { SetClientPolicy(value); return *this;}
66 
70  inline VirtualServiceBackend& WithClientPolicy(ClientPolicy&& value) { SetClientPolicy(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
77 
81  inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
82 
86  inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
87 
91  inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
92 
96  inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
97 
101  inline VirtualServiceBackend& WithVirtualServiceName(const Aws::String& value) { SetVirtualServiceName(value); return *this;}
102 
106  inline VirtualServiceBackend& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
107 
111  inline VirtualServiceBackend& WithVirtualServiceName(const char* value) { SetVirtualServiceName(value); return *this;}
112 
113  private:
114 
115  ClientPolicy m_clientPolicy;
116  bool m_clientPolicyHasBeenSet;
117 
118  Aws::String m_virtualServiceName;
119  bool m_virtualServiceNameHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace AppMesh
124 } // namespace Aws
Aws::AppMesh::Model::VirtualServiceBackend::SetVirtualServiceName
void SetVirtualServiceName(const Aws::String &value)
Definition: VirtualServiceBackend.h:86
Aws::AppMesh::Model::VirtualServiceBackend::VirtualServiceBackend
VirtualServiceBackend()
Aws::AppMesh::Model::ClientPolicy
Definition: ClientPolicy.h:32
Aws::AppMesh::Model::VirtualServiceBackend::VirtualServiceBackend
VirtualServiceBackend(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceBackend::SetClientPolicy
void SetClientPolicy(ClientPolicy &&value)
Definition: VirtualServiceBackend.h:60
Aws::AppMesh::Model::VirtualServiceBackend::WithClientPolicy
VirtualServiceBackend & WithClientPolicy(const ClientPolicy &value)
Definition: VirtualServiceBackend.h:65
ClientPolicy.h
Aws::AppMesh::Model::VirtualServiceBackend::SetVirtualServiceName
void SetVirtualServiceName(const char *value)
Definition: VirtualServiceBackend.h:96
Aws::AppMesh::Model::VirtualServiceBackend::SetVirtualServiceName
void SetVirtualServiceName(Aws::String &&value)
Definition: VirtualServiceBackend.h:91
Aws::AppMesh::Model::VirtualServiceBackend::ClientPolicyHasBeenSet
bool ClientPolicyHasBeenSet() const
Definition: VirtualServiceBackend.h:50
Aws::AppMesh::Model::VirtualServiceBackend::operator=
VirtualServiceBackend & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceBackend::WithVirtualServiceName
VirtualServiceBackend & WithVirtualServiceName(const char *value)
Definition: VirtualServiceBackend.h:111
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualServiceBackend::GetVirtualServiceName
const Aws::String & GetVirtualServiceName() const
Definition: VirtualServiceBackend.h:76
Aws::AppMesh::Model::VirtualServiceBackend::WithVirtualServiceName
VirtualServiceBackend & WithVirtualServiceName(Aws::String &&value)
Definition: VirtualServiceBackend.h:106
Aws::AppMesh::Model::VirtualServiceBackend::WithVirtualServiceName
VirtualServiceBackend & WithVirtualServiceName(const Aws::String &value)
Definition: VirtualServiceBackend.h:101
Aws::AppMesh::Model::VirtualServiceBackend::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualServiceBackend::WithClientPolicy
VirtualServiceBackend & WithClientPolicy(ClientPolicy &&value)
Definition: VirtualServiceBackend.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualServiceBackend::GetClientPolicy
const ClientPolicy & GetClientPolicy() const
Definition: VirtualServiceBackend.h:45
Aws::AppMesh::Model::VirtualServiceBackend
Definition: VirtualServiceBackend.h:34
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualServiceBackend::VirtualServiceNameHasBeenSet
bool VirtualServiceNameHasBeenSet() const
Definition: VirtualServiceBackend.h:81
Aws::AppMesh::Model::VirtualServiceBackend::SetClientPolicy
void SetClientPolicy(const ClientPolicy &value)
Definition: VirtualServiceBackend.h:55