7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeconnections/model/ProviderType.h>
10#include <aws/codeconnections/model/VpcConfiguration.h>
23namespace CodeConnections
42 AWS_CODECONNECTIONS_API
Host() =
default;
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
66 template<
typename HostArnT = Aws::String>
67 void SetHostArn(HostArnT&& value) { m_hostArnHasBeenSet =
true; m_hostArn = std::forward<HostArnT>(value); }
68 template<
typename HostArnT = Aws::String>
90 template<
typename Prov
iderEndpo
intT = Aws::String>
91 void SetProviderEndpoint(ProviderEndpointT&& value) { m_providerEndpointHasBeenSet =
true; m_providerEndpoint = std::forward<ProviderEndpointT>(value); }
92 template<
typename Prov
iderEndpo
intT = Aws::String>
102 template<
typename VpcConfigurationT = VpcConfiguration>
103 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
104 template<
typename VpcConfigurationT = VpcConfiguration>
115 template<
typename StatusT = Aws::String>
116 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
117 template<
typename StatusT = Aws::String>
127 template<
typename StatusMessageT = Aws::String>
128 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
129 template<
typename StatusMessageT = Aws::String>
135 bool m_nameHasBeenSet =
false;
138 bool m_hostArnHasBeenSet =
false;
141 bool m_providerTypeHasBeenSet =
false;
144 bool m_providerEndpointHasBeenSet =
false;
146 VpcConfiguration m_vpcConfiguration;
147 bool m_vpcConfigurationHasBeenSet =
false;
150 bool m_statusHasBeenSet =
false;
153 bool m_statusMessageHasBeenSet =
false;
void SetProviderType(ProviderType value)
bool NameHasBeenSet() const
AWS_CODECONNECTIONS_API Host & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Host & WithStatusMessage(StatusMessageT &&value)
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)
AWS_CODECONNECTIONS_API Host(Aws::Utils::Json::JsonView jsonValue)
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
ProviderType GetProviderType() const
void SetStatusMessage(StatusMessageT &&value)
const VpcConfiguration & GetVpcConfiguration() const
void SetStatus(StatusT &&value)
bool ProviderEndpointHasBeenSet() const
bool VpcConfigurationHasBeenSet() const
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ProviderTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue