AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualServiceBackend.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/ClientPolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPMESH_API VirtualServiceBackend();
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ClientPolicy& GetClientPolicy() const{ return m_clientPolicy; }
47 inline bool ClientPolicyHasBeenSet() const { return m_clientPolicyHasBeenSet; }
48 inline void SetClientPolicy(const ClientPolicy& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = value; }
49 inline void SetClientPolicy(ClientPolicy&& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = std::move(value); }
50 inline VirtualServiceBackend& WithClientPolicy(const ClientPolicy& value) { SetClientPolicy(value); return *this;}
51 inline VirtualServiceBackend& WithClientPolicy(ClientPolicy&& value) { SetClientPolicy(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
59 inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
60 inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
61 inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
62 inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
64 inline VirtualServiceBackend& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
65 inline VirtualServiceBackend& WithVirtualServiceName(const char* value) { SetVirtualServiceName(value); return *this;}
67 private:
68
69 ClientPolicy m_clientPolicy;
70 bool m_clientPolicyHasBeenSet = false;
71
72 Aws::String m_virtualServiceName;
73 bool m_virtualServiceNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppMesh
78} // namespace Aws
VirtualServiceBackend & WithClientPolicy(const ClientPolicy &value)
void SetVirtualServiceName(const Aws::String &value)
VirtualServiceBackend & WithVirtualServiceName(const Aws::String &value)
AWS_APPMESH_API VirtualServiceBackend(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualServiceBackend & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualServiceBackend & WithVirtualServiceName(const char *value)
VirtualServiceBackend & WithVirtualServiceName(Aws::String &&value)
void SetClientPolicy(const ClientPolicy &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualServiceBackend & WithClientPolicy(ClientPolicy &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue