7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/GatewayType.h>
22namespace DirectConnect
47 template<
typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
49 template<
typename IdT = Aws::String>
70 template<
typename OwnerAccountT = Aws::String>
71 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
72 template<
typename OwnerAccountT = Aws::String>
82 template<
typename RegionT = Aws::String>
83 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
84 template<
typename RegionT = Aws::String>
90 bool m_idHasBeenSet =
false;
93 bool m_typeHasBeenSet =
false;
96 bool m_ownerAccountHasBeenSet =
false;
99 bool m_regionHasBeenSet =
false;
AssociatedGateway & WithId(IdT &&value)
void SetRegion(RegionT &&value)
void SetType(GatewayType value)
AssociatedGateway & WithRegion(RegionT &&value)
AWS_DIRECTCONNECT_API AssociatedGateway()=default
AssociatedGateway & WithType(GatewayType value)
bool TypeHasBeenSet() const
AWS_DIRECTCONNECT_API AssociatedGateway(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerAccount(OwnerAccountT &&value)
bool IdHasBeenSet() const
AssociatedGateway & WithOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetRegion() const
AWS_DIRECTCONNECT_API AssociatedGateway & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
bool OwnerAccountHasBeenSet() const
GatewayType GetType() const
const Aws::String & GetOwnerAccount() const
bool RegionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue