AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateVpcIngressConnectionRequest.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/apprunner/model/Tag.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace AppRunner {
18namespace Model {
19
23 public:
24 AWS_APPRUNNER_API CreateVpcIngressConnectionRequest() = 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 "CreateVpcIngressConnection"; }
31
32 AWS_APPRUNNER_API Aws::String SerializePayload() const override;
33
35
37
41 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
42 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
43 template <typename ServiceArnT = Aws::String>
44 void SetServiceArn(ServiceArnT&& value) {
45 m_serviceArnHasBeenSet = true;
46 m_serviceArn = std::forward<ServiceArnT>(value);
47 }
48 template <typename ServiceArnT = Aws::String>
50 SetServiceArn(std::forward<ServiceArnT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetVpcIngressConnectionName() const { return m_vpcIngressConnectionName; }
62 inline bool VpcIngressConnectionNameHasBeenSet() const { return m_vpcIngressConnectionNameHasBeenSet; }
63 template <typename VpcIngressConnectionNameT = Aws::String>
64 void SetVpcIngressConnectionName(VpcIngressConnectionNameT&& value) {
65 m_vpcIngressConnectionNameHasBeenSet = true;
66 m_vpcIngressConnectionName = std::forward<VpcIngressConnectionNameT>(value);
67 }
68 template <typename VpcIngressConnectionNameT = Aws::String>
70 SetVpcIngressConnectionName(std::forward<VpcIngressConnectionNameT>(value));
71 return *this;
72 }
74
76
81 inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const { return m_ingressVpcConfiguration; }
82 inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; }
83 template <typename IngressVpcConfigurationT = IngressVpcConfiguration>
84 void SetIngressVpcConfiguration(IngressVpcConfigurationT&& value) {
85 m_ingressVpcConfigurationHasBeenSet = true;
86 m_ingressVpcConfiguration = std::forward<IngressVpcConfigurationT>(value);
87 }
88 template <typename IngressVpcConfigurationT = IngressVpcConfiguration>
90 SetIngressVpcConfiguration(std::forward<IngressVpcConfigurationT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 template <typename TagsT = Aws::Vector<Tag>>
103 void SetTags(TagsT&& value) {
104 m_tagsHasBeenSet = true;
105 m_tags = std::forward<TagsT>(value);
106 }
107 template <typename TagsT = Aws::Vector<Tag>>
109 SetTags(std::forward<TagsT>(value));
110 return *this;
111 }
112 template <typename TagsT = Tag>
114 m_tagsHasBeenSet = true;
115 m_tags.emplace_back(std::forward<TagsT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_serviceArn;
121
122 Aws::String m_vpcIngressConnectionName;
123
124 IngressVpcConfiguration m_ingressVpcConfiguration;
125
126 Aws::Vector<Tag> m_tags;
127 bool m_serviceArnHasBeenSet = false;
128 bool m_vpcIngressConnectionNameHasBeenSet = false;
129 bool m_ingressVpcConfigurationHasBeenSet = false;
130 bool m_tagsHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace AppRunner
135} // 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 & 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