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/ConnectionStatus.h>
23namespace CodeConnections
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;
const Aws::String & GetConnectionName() const
ProviderType GetProviderType() const
bool OwnerAccountIdHasBeenSet() const
Connection & WithHostArn(HostArnT &&value)
bool ConnectionStatusHasBeenSet() const
AWS_CODECONNECTIONS_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & WithConnectionStatus(ConnectionStatus value)
Connection & WithOwnerAccountId(OwnerAccountIdT &&value)
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECONNECTIONS_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECONNECTIONS_API Connection()=default
void SetProviderType(ProviderType value)
const Aws::String & GetHostArn() const
bool ConnectionNameHasBeenSet() const
bool HostArnHasBeenSet() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
Connection & WithConnectionArn(ConnectionArnT &&value)
ConnectionStatus GetConnectionStatus() const
const Aws::String & GetConnectionArn() const
void SetConnectionArn(ConnectionArnT &&value)
bool ConnectionArnHasBeenSet() const
void SetConnectionStatus(ConnectionStatus value)
bool ProviderTypeHasBeenSet() const
const Aws::String & GetOwnerAccountId() const
Connection & WithConnectionName(ConnectionNameT &&value)
void SetConnectionName(ConnectionNameT &&value)
void SetHostArn(HostArnT &&value)
Connection & WithProviderType(ProviderType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue