AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateVpcIngressConnectionRequest.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/AppRunnerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apprunner/model/IngressVpcConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/apprunner/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace AppRunner
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_APPRUNNER_API CreateVpcIngressConnectionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateVpcIngressConnection"; }
34
35 AWS_APPRUNNER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
46 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
47 template<typename ServiceArnT = Aws::String>
48 void SetServiceArn(ServiceArnT&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::forward<ServiceArnT>(value); }
49 template<typename ServiceArnT = Aws::String>
50 CreateVpcIngressConnectionRequest& WithServiceArn(ServiceArnT&& value) { SetServiceArn(std::forward<ServiceArnT>(value)); return *this;}
52
54
59 inline const Aws::String& GetVpcIngressConnectionName() const { return m_vpcIngressConnectionName; }
60 inline bool VpcIngressConnectionNameHasBeenSet() const { return m_vpcIngressConnectionNameHasBeenSet; }
61 template<typename VpcIngressConnectionNameT = Aws::String>
62 void SetVpcIngressConnectionName(VpcIngressConnectionNameT&& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = std::forward<VpcIngressConnectionNameT>(value); }
63 template<typename VpcIngressConnectionNameT = Aws::String>
64 CreateVpcIngressConnectionRequest& WithVpcIngressConnectionName(VpcIngressConnectionNameT&& value) { SetVpcIngressConnectionName(std::forward<VpcIngressConnectionNameT>(value)); return *this;}
66
68
73 inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const { return m_ingressVpcConfiguration; }
74 inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; }
75 template<typename IngressVpcConfigurationT = IngressVpcConfiguration>
76 void SetIngressVpcConfiguration(IngressVpcConfigurationT&& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = std::forward<IngressVpcConfigurationT>(value); }
77 template<typename IngressVpcConfigurationT = IngressVpcConfiguration>
78 CreateVpcIngressConnectionRequest& WithIngressVpcConfiguration(IngressVpcConfigurationT&& value) { SetIngressVpcConfiguration(std::forward<IngressVpcConfigurationT>(value)); return *this;}
80
82
86 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 template<typename TagsT = Aws::Vector<Tag>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
90 template<typename TagsT = Aws::Vector<Tag>>
91 CreateVpcIngressConnectionRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
92 template<typename TagsT = Tag>
93 CreateVpcIngressConnectionRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
95 private:
96
97 Aws::String m_serviceArn;
98 bool m_serviceArnHasBeenSet = false;
99
100 Aws::String m_vpcIngressConnectionName;
101 bool m_vpcIngressConnectionNameHasBeenSet = false;
102
103 IngressVpcConfiguration m_ingressVpcConfiguration;
104 bool m_ingressVpcConfigurationHasBeenSet = false;
105
106 Aws::Vector<Tag> m_tags;
107 bool m_tagsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace AppRunner
112} // namespace Aws
AWS_APPRUNNER_API Aws::String SerializePayload() const override
CreateVpcIngressConnectionRequest & WithIngressVpcConfiguration(IngressVpcConfigurationT &&value)
CreateVpcIngressConnectionRequest & WithVpcIngressConnectionName(VpcIngressConnectionNameT &&value)
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateVpcIngressConnectionRequest & WithServiceArn(ServiceArnT &&value)
CreateVpcIngressConnectionRequest & AddTags(TagsT &&value)
CreateVpcIngressConnectionRequest & WithTags(TagsT &&value)
AWS_APPRUNNER_API CreateVpcIngressConnectionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector