7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/model/ProviderType.h>
9#include <aws/codeconnections/model/VpcConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
21namespace CodeConnections {
37 AWS_CODECONNECTIONS_API
Host() =
default;
38 AWS_CODECONNECTIONS_API
Host(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_CODECONNECTIONS_API
Host&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_CODECONNECTIONS_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename NameT = Aws::String>
50 m_nameHasBeenSet =
true;
51 m_name = std::forward<NameT>(value);
53 template <
typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
66 template <
typename HostArnT = Aws::String>
68 m_hostArnHasBeenSet =
true;
69 m_hostArn = std::forward<HostArnT>(value);
71 template <
typename HostArnT = Aws::String>
87 m_providerTypeHasBeenSet =
true;
88 m_providerType = value;
102 template <
typename Prov
iderEndpo
intT = Aws::String>
104 m_providerEndpointHasBeenSet =
true;
105 m_providerEndpoint = std::forward<ProviderEndpointT>(value);
107 template <
typename Prov
iderEndpo
intT = Aws::String>
120 template <
typename VpcConfigurationT = VpcConfiguration>
122 m_vpcConfigurationHasBeenSet =
true;
123 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
125 template <
typename VpcConfigurationT = VpcConfiguration>
139 template <
typename StatusT = Aws::String>
141 m_statusHasBeenSet =
true;
142 m_status = std::forward<StatusT>(value);
144 template <
typename StatusT = Aws::String>
157 template <
typename StatusMessageT = Aws::String>
159 m_statusMessageHasBeenSet =
true;
160 m_statusMessage = std::forward<StatusMessageT>(value);
162 template <
typename StatusMessageT = Aws::String>
177 VpcConfiguration m_vpcConfiguration;
182 bool m_nameHasBeenSet =
false;
183 bool m_hostArnHasBeenSet =
false;
184 bool m_providerTypeHasBeenSet =
false;
185 bool m_providerEndpointHasBeenSet =
false;
186 bool m_vpcConfigurationHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
188 bool m_statusMessageHasBeenSet =
false;
void SetProviderType(ProviderType value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
Host & WithStatusMessage(StatusMessageT &&value)
AWS_CODECONNECTIONS_API Host & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Host & WithHostArn(HostArnT &&value)
const Aws::String & GetHostArn() const
Host & WithStatus(StatusT &&value)
Host & WithProviderEndpoint(ProviderEndpointT &&value)
bool StatusMessageHasBeenSet() const
void SetProviderEndpoint(ProviderEndpointT &&value)
bool HostArnHasBeenSet() const
const Aws::String & GetStatus() const
Host & WithName(NameT &&value)
Host & WithProviderType(ProviderType value)
void SetVpcConfiguration(VpcConfigurationT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetStatusMessage() const
const Aws::String & GetProviderEndpoint() const
void SetHostArn(HostArnT &&value)
Host & WithVpcConfiguration(VpcConfigurationT &&value)
AWS_CODECONNECTIONS_API Host()=default
const Aws::String & GetName() const
AWS_CODECONNECTIONS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ProviderType GetProviderType() const
void SetStatusMessage(StatusMessageT &&value)
const VpcConfiguration & GetVpcConfiguration() const
AWS_CODECONNECTIONS_API Host(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetStatus(StatusT &&value)
bool ProviderEndpointHasBeenSet() const
bool VpcConfigurationHasBeenSet() const
bool ProviderTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String