AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVirtualRouterRequest.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/VirtualRouterSpec.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 UpdateVirtualRouterRequest();
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 "UpdateVirtualRouter"; }
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 UpdateVirtualRouterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline UpdateVirtualRouterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline UpdateVirtualRouterRequest& 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 UpdateVirtualRouterRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
72 inline UpdateVirtualRouterRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
73 inline UpdateVirtualRouterRequest& 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 UpdateVirtualRouterRequest& WithMeshOwner(const Aws::String& value) { SetMeshOwner(value); return *this;}
90 inline UpdateVirtualRouterRequest& WithMeshOwner(Aws::String&& value) { SetMeshOwner(std::move(value)); return *this;}
91 inline UpdateVirtualRouterRequest& WithMeshOwner(const char* value) { SetMeshOwner(value); return *this;}
93
95
99 inline const VirtualRouterSpec& GetSpec() const{ return m_spec; }
100 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
101 inline void SetSpec(const VirtualRouterSpec& value) { m_specHasBeenSet = true; m_spec = value; }
102 inline void SetSpec(VirtualRouterSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
103 inline UpdateVirtualRouterRequest& WithSpec(const VirtualRouterSpec& value) { SetSpec(value); return *this;}
104 inline UpdateVirtualRouterRequest& WithSpec(VirtualRouterSpec&& value) { SetSpec(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
112 inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
113 inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
114 inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
115 inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
117 inline UpdateVirtualRouterRequest& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
118 inline UpdateVirtualRouterRequest& WithVirtualRouterName(const char* value) { SetVirtualRouterName(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 VirtualRouterSpec m_spec;
132 bool m_specHasBeenSet = false;
133
134 Aws::String m_virtualRouterName;
135 bool m_virtualRouterNameHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace AppMesh
140} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateVirtualRouterRequest & WithClientToken(const char *value)
UpdateVirtualRouterRequest & WithMeshName(Aws::String &&value)
UpdateVirtualRouterRequest & WithVirtualRouterName(const char *value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateVirtualRouterRequest & WithVirtualRouterName(Aws::String &&value)
UpdateVirtualRouterRequest & WithMeshOwner(const char *value)
UpdateVirtualRouterRequest & WithClientToken(Aws::String &&value)
UpdateVirtualRouterRequest & WithClientToken(const Aws::String &value)
UpdateVirtualRouterRequest & WithVirtualRouterName(const Aws::String &value)
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateVirtualRouterRequest & WithSpec(const VirtualRouterSpec &value)
UpdateVirtualRouterRequest & WithMeshName(const char *value)
UpdateVirtualRouterRequest & WithSpec(VirtualRouterSpec &&value)
UpdateVirtualRouterRequest & WithMeshName(const Aws::String &value)
UpdateVirtualRouterRequest & WithMeshOwner(Aws::String &&value)
UpdateVirtualRouterRequest & WithMeshOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String