AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateHostRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codestar-connections/model/VpcConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeStarconnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODESTARCONNECTIONS_API UpdateHostRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateHost"; }
32
33 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetHostArn() const{ return m_hostArn; }
43 inline bool HostArnHasBeenSet() const { return m_hostArnHasBeenSet; }
44 inline void SetHostArn(const Aws::String& value) { m_hostArnHasBeenSet = true; m_hostArn = value; }
45 inline void SetHostArn(Aws::String&& value) { m_hostArnHasBeenSet = true; m_hostArn = std::move(value); }
46 inline void SetHostArn(const char* value) { m_hostArnHasBeenSet = true; m_hostArn.assign(value); }
47 inline UpdateHostRequest& WithHostArn(const Aws::String& value) { SetHostArn(value); return *this;}
48 inline UpdateHostRequest& WithHostArn(Aws::String&& value) { SetHostArn(std::move(value)); return *this;}
49 inline UpdateHostRequest& WithHostArn(const char* value) { SetHostArn(value); return *this;}
51
53
56 inline const Aws::String& GetProviderEndpoint() const{ return m_providerEndpoint; }
57 inline bool ProviderEndpointHasBeenSet() const { return m_providerEndpointHasBeenSet; }
58 inline void SetProviderEndpoint(const Aws::String& value) { m_providerEndpointHasBeenSet = true; m_providerEndpoint = value; }
59 inline void SetProviderEndpoint(Aws::String&& value) { m_providerEndpointHasBeenSet = true; m_providerEndpoint = std::move(value); }
60 inline void SetProviderEndpoint(const char* value) { m_providerEndpointHasBeenSet = true; m_providerEndpoint.assign(value); }
61 inline UpdateHostRequest& WithProviderEndpoint(const Aws::String& value) { SetProviderEndpoint(value); return *this;}
62 inline UpdateHostRequest& WithProviderEndpoint(Aws::String&& value) { SetProviderEndpoint(std::move(value)); return *this;}
63 inline UpdateHostRequest& WithProviderEndpoint(const char* value) { SetProviderEndpoint(value); return *this;}
65
67
72 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
73 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
74 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
75 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
76 inline UpdateHostRequest& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
77 inline UpdateHostRequest& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_hostArn;
82 bool m_hostArnHasBeenSet = false;
83
84 Aws::String m_providerEndpoint;
85 bool m_providerEndpointHasBeenSet = false;
86
87 VpcConfiguration m_vpcConfiguration;
88 bool m_vpcConfigurationHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CodeStarconnections
93} // namespace Aws
const VpcConfiguration & GetVpcConfiguration() const
UpdateHostRequest & WithProviderEndpoint(const char *value)
UpdateHostRequest & WithProviderEndpoint(Aws::String &&value)
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
UpdateHostRequest & WithHostArn(Aws::String &&value)
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateHostRequest & WithVpcConfiguration(const VpcConfiguration &value)
UpdateHostRequest & WithProviderEndpoint(const Aws::String &value)
AWS_CODESTARCONNECTIONS_API UpdateHostRequest()
UpdateHostRequest & WithHostArn(const char *value)
virtual const char * GetServiceRequestName() const override
void SetVpcConfiguration(const VpcConfiguration &value)
UpdateHostRequest & WithHostArn(const Aws::String &value)
UpdateHostRequest & WithVpcConfiguration(VpcConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String