AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateVpcIngressConnectionRequest.h
1
6#pragma once
7#include <aws/apprunner/AppRunnerRequest.h>
8#include <aws/apprunner/AppRunner_EXPORTS.h>
9#include <aws/apprunner/model/IngressVpcConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppRunner {
16namespace Model {
17
21 public:
22 AWS_APPRUNNER_API UpdateVpcIngressConnectionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateVpcIngressConnection"; }
29
30 AWS_APPRUNNER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetVpcIngressConnectionArn() const { return m_vpcIngressConnectionArn; }
40 inline bool VpcIngressConnectionArnHasBeenSet() const { return m_vpcIngressConnectionArnHasBeenSet; }
41 template <typename VpcIngressConnectionArnT = Aws::String>
42 void SetVpcIngressConnectionArn(VpcIngressConnectionArnT&& value) {
43 m_vpcIngressConnectionArnHasBeenSet = true;
44 m_vpcIngressConnectionArn = std::forward<VpcIngressConnectionArnT>(value);
45 }
46 template <typename VpcIngressConnectionArnT = Aws::String>
48 SetVpcIngressConnectionArn(std::forward<VpcIngressConnectionArnT>(value));
49 return *this;
50 }
52
54
59 inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const { return m_ingressVpcConfiguration; }
60 inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; }
61 template <typename IngressVpcConfigurationT = IngressVpcConfiguration>
62 void SetIngressVpcConfiguration(IngressVpcConfigurationT&& value) {
63 m_ingressVpcConfigurationHasBeenSet = true;
64 m_ingressVpcConfiguration = std::forward<IngressVpcConfigurationT>(value);
65 }
66 template <typename IngressVpcConfigurationT = IngressVpcConfiguration>
68 SetIngressVpcConfiguration(std::forward<IngressVpcConfigurationT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_vpcIngressConnectionArn;
74
75 IngressVpcConfiguration m_ingressVpcConfiguration;
76 bool m_vpcIngressConnectionArnHasBeenSet = false;
77 bool m_ingressVpcConfigurationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace AppRunner
82} // namespace Aws
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateVpcIngressConnectionRequest & WithIngressVpcConfiguration(IngressVpcConfigurationT &&value)
UpdateVpcIngressConnectionRequest & WithVpcIngressConnectionArn(VpcIngressConnectionArnT &&value)
AWS_APPRUNNER_API UpdateVpcIngressConnectionRequest()=default
AWS_APPRUNNER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String