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
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 SetHostArn(const Aws::String &value)
bool ConnectionArnHasBeenSet() const
Connection & WithOwnerAccountId(Aws::String &&value)
AWS_CODESTARCONNECTIONS_API Connection(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionName(Aws::String &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithOwnerAccountId(const char *value)
void SetHostArn(const char *value)
Connection & WithConnectionStatus(ConnectionStatus &&value)
const ConnectionStatus & GetConnectionStatus() const
const Aws::String & GetHostArn() const
bool ConnectionStatusHasBeenSet() const
Connection & WithConnectionArn(const Aws::String &value)
bool OwnerAccountIdHasBeenSet() const
bool HostArnHasBeenSet() const
Connection & WithConnectionStatus(const ConnectionStatus &value)
void SetProviderType(ProviderType &&value)
void SetConnectionArn(const char *value)
const ProviderType & GetProviderType() const
Connection & WithConnectionName(const Aws::String &value)
const Aws::String & GetConnectionArn() const
void SetOwnerAccountId(const char *value)
bool ConnectionNameHasBeenSet() const
void SetConnectionStatus(const ConnectionStatus &value)
Connection & WithConnectionName(Aws::String &&value)
Connection & WithHostArn(Aws::String &&value)
void SetConnectionArn(const Aws::String &value)
Connection & WithHostArn(const char *value)
const Aws::String & GetConnectionName() const
void SetConnectionStatus(ConnectionStatus &&value)
Connection & WithConnectionName(const char *value)
Connection & WithHostArn(const Aws::String &value)
void SetConnectionName(const Aws::String &value)
AWS_CODESTARCONNECTIONS_API Connection()
void SetOwnerAccountId(const Aws::String &value)
Connection & WithProviderType(ProviderType &&value)
bool ProviderTypeHasBeenSet() const
Connection & WithProviderType(const ProviderType &value)
AWS_CODESTARCONNECTIONS_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
void SetConnectionArn(Aws::String &&value)
Connection & WithConnectionArn(const char *value)
void SetProviderType(const ProviderType &value)
void SetOwnerAccountId(Aws::String &&value)
Connection & WithConnectionArn(Aws::String &&value)
void SetConnectionName(const char *value)
Connection & WithOwnerAccountId(const Aws::String &value)
void SetHostArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue