AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVirtualServiceRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/AppMeshRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appmesh/model/VirtualServiceSpec.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AppMesh
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_APPMESH_API UpdateVirtualServiceRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualService"; }
40
41 AWS_APPMESH_API Aws::String SerializePayload() const override;
42
43 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
52 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
53 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
54 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
55 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
56 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
57 inline UpdateVirtualServiceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline UpdateVirtualServiceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline UpdateVirtualServiceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
61
63
66 inline const Aws::String& GetMeshName() const{ return m_meshName; }
67 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
68 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
69 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
70 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
71 inline UpdateVirtualServiceRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
72 inline UpdateVirtualServiceRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
73 inline UpdateVirtualServiceRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
75
77
84 inline const Aws::String& GetMeshOwner() const{ return m_meshOwner; }
85 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
86 inline void SetMeshOwner(const Aws::String& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = value; }
87 inline void SetMeshOwner(Aws::String&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::move(value); }
88 inline void SetMeshOwner(const char* value) { m_meshOwnerHasBeenSet = true; m_meshOwner.assign(value); }
89 inline UpdateVirtualServiceRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
90 inline UpdateVirtualServiceRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
91 inline UpdateVirtualServiceRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
93
95
99 inline const VirtualServiceSpec& GetSpec() const{ return m_spec; }
100 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
101 inline void SetSpec(const VirtualServiceSpec& value) { m_specHasBeenSet = true; m_spec = value; }
102 inline void SetSpec(VirtualServiceSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
103 inline UpdateVirtualServiceRequest& WithSpec(const VirtualServiceSpec& value) { SetSpec(value); return *this;}
104 inline UpdateVirtualServiceRequest& WithSpec(VirtualServiceSpec&& value) { SetSpec(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; }
112 inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; }
113 inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; }
114 inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); }
115 inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); }
117 inline UpdateVirtualServiceRequest& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;}
118 inline UpdateVirtualServiceRequest& WithVirtualServiceName(const char* value) { SetVirtualServiceName(value); return *this;}
120 private:
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 Aws::String m_meshName;
126 bool m_meshNameHasBeenSet = false;
127
128 Aws::String m_meshOwner;
129 bool m_meshOwnerHasBeenSet = false;
130
131 VirtualServiceSpec m_spec;
132 bool m_specHasBeenSet = false;
133
134 Aws::String m_virtualServiceName;
135 bool m_virtualServiceNameHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace AppMesh
140} // namespace Aws
UpdateVirtualServiceRequest & WithMeshOwner(const char *value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateVirtualServiceRequest & WithClientToken(const char *value)
UpdateVirtualServiceRequest & WithMeshName(const Aws::String &value)
UpdateVirtualServiceRequest & WithClientToken(const Aws::String &value)
UpdateVirtualServiceRequest & WithMeshName(Aws::String &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateVirtualServiceRequest & WithMeshName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateVirtualServiceRequest & WithVirtualServiceName(Aws::String &&value)
UpdateVirtualServiceRequest & WithSpec(VirtualServiceSpec &&value)
UpdateVirtualServiceRequest & WithClientToken(Aws::String &&value)
UpdateVirtualServiceRequest & WithMeshOwner(const Aws::String &value)
UpdateVirtualServiceRequest & WithMeshOwner(Aws::String &&value)
UpdateVirtualServiceRequest & WithVirtualServiceName(const char *value)
UpdateVirtualServiceRequest & WithVirtualServiceName(const Aws::String &value)
UpdateVirtualServiceRequest & WithSpec(const VirtualServiceSpec &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String