AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateVirtualGatewayRequest.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/VirtualGatewaySpec.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
28 {
29 public:
30 AWS_APPMESH_API UpdateVirtualGatewayRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualGateway"; }
37
38 AWS_APPMESH_API Aws::String SerializePayload() const override;
39
40 AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetClientToken() const { return m_clientToken; }
50 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
51 template<typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
53 template<typename ClientTokenT = Aws::String>
54 UpdateVirtualGatewayRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
56
58
61 inline const Aws::String& GetMeshName() const { return m_meshName; }
62 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
63 template<typename MeshNameT = Aws::String>
64 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
65 template<typename MeshNameT = Aws::String>
66 UpdateVirtualGatewayRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
68
70
77 inline const Aws::String& GetMeshOwner() const { return m_meshOwner; }
78 inline bool MeshOwnerHasBeenSet() const { return m_meshOwnerHasBeenSet; }
79 template<typename MeshOwnerT = Aws::String>
80 void SetMeshOwner(MeshOwnerT&& value) { m_meshOwnerHasBeenSet = true; m_meshOwner = std::forward<MeshOwnerT>(value); }
81 template<typename MeshOwnerT = Aws::String>
82 UpdateVirtualGatewayRequest& WithMeshOwner(MeshOwnerT&& value) { SetMeshOwner(std::forward<MeshOwnerT>(value)); return *this;}
84
86
90 inline const VirtualGatewaySpec& GetSpec() const { return m_spec; }
91 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
92 template<typename SpecT = VirtualGatewaySpec>
93 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
94 template<typename SpecT = VirtualGatewaySpec>
95 UpdateVirtualGatewayRequest& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
97
99
102 inline const Aws::String& GetVirtualGatewayName() const { return m_virtualGatewayName; }
103 inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; }
104 template<typename VirtualGatewayNameT = Aws::String>
105 void SetVirtualGatewayName(VirtualGatewayNameT&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::forward<VirtualGatewayNameT>(value); }
106 template<typename VirtualGatewayNameT = Aws::String>
107 UpdateVirtualGatewayRequest& WithVirtualGatewayName(VirtualGatewayNameT&& value) { SetVirtualGatewayName(std::forward<VirtualGatewayNameT>(value)); return *this;}
109 private:
110
112 bool m_clientTokenHasBeenSet = true;
113
114 Aws::String m_meshName;
115 bool m_meshNameHasBeenSet = false;
116
117 Aws::String m_meshOwner;
118 bool m_meshOwnerHasBeenSet = false;
119
120 VirtualGatewaySpec m_spec;
121 bool m_specHasBeenSet = false;
122
123 Aws::String m_virtualGatewayName;
124 bool m_virtualGatewayNameHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AppMesh
129} // namespace Aws
AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMESH_API UpdateVirtualGatewayRequest()=default
UpdateVirtualGatewayRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
UpdateVirtualGatewayRequest & WithMeshName(MeshNameT &&value)
UpdateVirtualGatewayRequest & WithMeshOwner(MeshOwnerT &&value)
UpdateVirtualGatewayRequest & WithSpec(SpecT &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateVirtualGatewayRequest & WithVirtualGatewayName(VirtualGatewayNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String