AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
48 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
49 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
50 inline CreateVpcIngressConnectionRequest& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
51 inline CreateVpcIngressConnectionRequest& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
52 inline CreateVpcIngressConnectionRequest& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
54
56
61 inline const Aws::String& GetVpcIngressConnectionName() const{ return m_vpcIngressConnectionName; }
62 inline bool VpcIngressConnectionNameHasBeenSet() const { return m_vpcIngressConnectionNameHasBeenSet; }
63 inline void SetVpcIngressConnectionName(const Aws::String& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = value; }
64 inline void SetVpcIngressConnectionName(Aws::String&& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = std::move(value); }
65 inline void SetVpcIngressConnectionName(const char* value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName.assign(value); }
70
72
77 inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const{ return m_ingressVpcConfiguration; }
78 inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; }
79 inline void SetIngressVpcConfiguration(const IngressVpcConfiguration& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = value; }
80 inline void SetIngressVpcConfiguration(IngressVpcConfiguration&& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = std::move(value); }
84
86
90 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
91 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
92 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
93 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
94 inline CreateVpcIngressConnectionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
95 inline CreateVpcIngressConnectionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
96 inline CreateVpcIngressConnectionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
97 inline CreateVpcIngressConnectionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_serviceArn;
102 bool m_serviceArnHasBeenSet = false;
103
104 Aws::String m_vpcIngressConnectionName;
105 bool m_vpcIngressConnectionNameHasBeenSet = false;
106
107 IngressVpcConfiguration m_ingressVpcConfiguration;
108 bool m_ingressVpcConfigurationHasBeenSet = false;
109
110 Aws::Vector<Tag> m_tags;
111 bool m_tagsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace AppRunner
116} // namespace Aws
CreateVpcIngressConnectionRequest & WithServiceArn(const char *value)
CreateVpcIngressConnectionRequest & WithVpcIngressConnectionName(Aws::String &&value)
AWS_APPRUNNER_API Aws::String SerializePayload() const override
CreateVpcIngressConnectionRequest & AddTags(const Tag &value)
CreateVpcIngressConnectionRequest & WithIngressVpcConfiguration(IngressVpcConfiguration &&value)
CreateVpcIngressConnectionRequest & WithServiceArn(const Aws::String &value)
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateVpcIngressConnectionRequest & WithVpcIngressConnectionName(const char *value)
CreateVpcIngressConnectionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateVpcIngressConnectionRequest & WithVpcIngressConnectionName(const Aws::String &value)
CreateVpcIngressConnectionRequest & WithIngressVpcConfiguration(const IngressVpcConfiguration &value)
CreateVpcIngressConnectionRequest & WithServiceArn(Aws::String &&value)
CreateVpcIngressConnectionRequest & WithTags(const Aws::Vector< Tag > &value)
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