AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateVpcLinkRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ApiGatewayV2 {
15namespace Model {
16
23 public:
24 AWS_APIGATEWAYV2_API UpdateVpcLinkRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateVpcLink"; }
31
32 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetVpcLinkId() const { return m_vpcLinkId; }
57 inline bool VpcLinkIdHasBeenSet() const { return m_vpcLinkIdHasBeenSet; }
58 template <typename VpcLinkIdT = Aws::String>
59 void SetVpcLinkId(VpcLinkIdT&& value) {
60 m_vpcLinkIdHasBeenSet = true;
61 m_vpcLinkId = std::forward<VpcLinkIdT>(value);
62 }
63 template <typename VpcLinkIdT = Aws::String>
64 UpdateVpcLinkRequest& WithVpcLinkId(VpcLinkIdT&& value) {
65 SetVpcLinkId(std::forward<VpcLinkIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_name;
71
72 Aws::String m_vpcLinkId;
73 bool m_nameHasBeenSet = false;
74 bool m_vpcLinkIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ApiGatewayV2
79} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String