7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/ProviderType.h>
9#include <aws/codestar-connections/model/VpcConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeStarconnections {
37 AWS_CODESTARCONNECTIONS_API
Host() =
default;
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;
ProviderType GetProviderType() const
bool ProviderEndpointHasBeenSet() const
Host & WithVpcConfiguration(VpcConfigurationT &&value)
const Aws::String & GetStatus() const
void SetName(NameT &&value)
void SetProviderEndpoint(ProviderEndpointT &&value)
const Aws::String & GetHostArn() const
AWS_CODESTARCONNECTIONS_API Host()=default
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Host & WithHostArn(HostArnT &&value)
Host & WithName(NameT &&value)
bool ProviderTypeHasBeenSet() const
bool StatusMessageHasBeenSet() const
const VpcConfiguration & GetVpcConfiguration() const
void SetStatusMessage(StatusMessageT &&value)
Host & WithStatus(StatusT &&value)
Host & WithProviderType(ProviderType value)
bool HostArnHasBeenSet() const
Host & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetStatusMessage() const
bool StatusHasBeenSet() const
const Aws::String & GetName() const
Host & WithProviderEndpoint(ProviderEndpointT &&value)
void SetHostArn(HostArnT &&value)
AWS_CODESTARCONNECTIONS_API Host & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProviderEndpoint() const
void SetStatus(StatusT &&value)
void SetVpcConfiguration(VpcConfigurationT &&value)
bool VpcConfigurationHasBeenSet() const
AWS_CODESTARCONNECTIONS_API Host(Aws::Utils::Json::JsonView jsonValue)
void SetProviderType(ProviderType value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue