7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/ConnectionStatus.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeStarconnections {
47 template <
typename ConnectionNameT = Aws::String>
49 m_connectionNameHasBeenSet =
true;
50 m_connectionName = std::forward<ConnectionNameT>(value);
52 template <
typename ConnectionNameT = Aws::String>
68 template <
typename ConnectionArnT = Aws::String>
70 m_connectionArnHasBeenSet =
true;
71 m_connectionArn = std::forward<ConnectionArnT>(value);
73 template <
typename ConnectionArnT = Aws::String>
88 m_providerTypeHasBeenSet =
true;
89 m_providerType = value;
105 template <
typename OwnerAccountIdT = Aws::String>
107 m_ownerAccountIdHasBeenSet =
true;
108 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
110 template <
typename OwnerAccountIdT = Aws::String>
124 m_connectionStatusHasBeenSet =
true;
125 m_connectionStatus = value;
140 template <
typename HostArnT = Aws::String>
142 m_hostArnHasBeenSet =
true;
143 m_hostArn = std::forward<HostArnT>(value);
145 template <
typename HostArnT = Aws::String>
163 bool m_connectionNameHasBeenSet =
false;
164 bool m_connectionArnHasBeenSet =
false;
165 bool m_providerTypeHasBeenSet =
false;
166 bool m_ownerAccountIdHasBeenSet =
false;
167 bool m_connectionStatusHasBeenSet =
false;
168 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