7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <aws/codestar-connections/model/ConnectionStatus.h>
23namespace CodeStarconnections
53 template<
typename ConnectionNameT = Aws::String>
54 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
55 template<
typename ConnectionNameT = Aws::String>
68 template<
typename ConnectionArnT = Aws::String>
69 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet =
true; m_connectionArn = std::forward<ConnectionArnT>(value); }
70 template<
typename ConnectionArnT = Aws::String>
93 template<
typename OwnerAccountIdT = Aws::String>
94 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
95 template<
typename OwnerAccountIdT = Aws::String>
116 template<
typename HostArnT = Aws::String>
117 void SetHostArn(HostArnT&& value) { m_hostArnHasBeenSet =
true; m_hostArn = std::forward<HostArnT>(value); }
118 template<
typename HostArnT = Aws::String>
124 bool m_connectionNameHasBeenSet =
false;
127 bool m_connectionArnHasBeenSet =
false;
130 bool m_providerTypeHasBeenSet =
false;
133 bool m_ownerAccountIdHasBeenSet =
false;
136 bool m_connectionStatusHasBeenSet =
false;
139 bool m_hostArnHasBeenSet =
false;
Connection & WithOwnerAccountId(OwnerAccountIdT &&value)
AWS_CODESTARCONNECTIONS_API Connection()=default
bool ConnectionArnHasBeenSet() const
void SetHostArn(HostArnT &&value)
void SetConnectionStatus(ConnectionStatus value)
AWS_CODESTARCONNECTIONS_API Connection(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectionArn(ConnectionArnT &&value)
void SetConnectionName(ConnectionNameT &&value)
const Aws::String & GetHostArn() const
bool ConnectionStatusHasBeenSet() const
bool OwnerAccountIdHasBeenSet() const
ProviderType GetProviderType() const
bool HostArnHasBeenSet() const
Connection & WithConnectionArn(ConnectionArnT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetConnectionArn() const
bool ConnectionNameHasBeenSet() const
Connection & WithHostArn(HostArnT &&value)
Connection & WithConnectionStatus(ConnectionStatus value)
const Aws::String & GetConnectionName() const
ConnectionStatus GetConnectionStatus() const
bool ProviderTypeHasBeenSet() const
AWS_CODESTARCONNECTIONS_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
Connection & WithProviderType(ProviderType value)
void SetProviderType(ProviderType value)
Connection & WithConnectionName(ConnectionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue