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
55 inline void SetConnectionName(
const char* value) { m_connectionNameHasBeenSet =
true; m_connectionName.assign(value); }
72 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
101 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
128 inline void SetHostArn(
const char* value) { m_hostArnHasBeenSet =
true; m_hostArn.assign(value); }
136 bool m_connectionNameHasBeenSet =
false;
139 bool m_connectionArnHasBeenSet =
false;
142 bool m_providerTypeHasBeenSet =
false;
145 bool m_ownerAccountIdHasBeenSet =
false;
148 bool m_connectionStatusHasBeenSet =
false;
151 bool m_hostArnHasBeenSet =
false;
void SetConnectionName(Aws::String &&value)
const Aws::String & GetConnectionName() const
Connection & WithConnectionArn(Aws::String &&value)
const ConnectionStatus & GetConnectionStatus() const
void SetHostArn(Aws::String &&value)
void SetOwnerAccountId(const Aws::String &value)
bool OwnerAccountIdHasBeenSet() const
Connection & WithConnectionStatus(ConnectionStatus &&value)
void SetConnectionStatus(const ConnectionStatus &value)
bool ConnectionStatusHasBeenSet() const
Connection & WithHostArn(const Aws::String &value)
void SetHostArn(const char *value)
Connection & WithHostArn(Aws::String &&value)
Connection & WithConnectionName(const Aws::String &value)
AWS_CODECONNECTIONS_API Connection(Aws::Utils::Json::JsonView jsonValue)
void SetHostArn(const Aws::String &value)
const ProviderType & GetProviderType() const
Connection & WithConnectionName(Aws::String &&value)
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectionName(const Aws::String &value)
AWS_CODECONNECTIONS_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionArn(const char *value)
const Aws::String & GetHostArn() const
Connection & WithConnectionArn(const Aws::String &value)
void SetConnectionArn(const Aws::String &value)
Connection & WithOwnerAccountId(const char *value)
bool ConnectionNameHasBeenSet() const
void SetProviderType(ProviderType &&value)
Connection & WithProviderType(ProviderType &&value)
void SetOwnerAccountId(Aws::String &&value)
bool HostArnHasBeenSet() const
Connection & WithConnectionStatus(const ConnectionStatus &value)
void SetConnectionArn(Aws::String &&value)
const Aws::String & GetConnectionArn() const
AWS_CODECONNECTIONS_API Connection()
bool ConnectionArnHasBeenSet() const
void SetConnectionName(const char *value)
void SetOwnerAccountId(const char *value)
void SetConnectionStatus(ConnectionStatus &&value)
Connection & WithHostArn(const char *value)
Connection & WithOwnerAccountId(const Aws::String &value)
Connection & WithOwnerAccountId(Aws::String &&value)
void SetProviderType(const ProviderType &value)
bool ProviderTypeHasBeenSet() const
const Aws::String & GetOwnerAccountId() const
Connection & WithProviderType(const ProviderType &value)
Connection & WithConnectionName(const char *value)
Connection & WithConnectionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue