7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/ResiliencyGroupState.h>
11#include <aws/directconnect/model/ResiliencyGroupType.h>
12#include <aws/directconnect/model/Tag.h>
23namespace DirectConnect {
44 template <
typename ResiliencyGroupIdT = Aws::String>
46 m_resiliencyGroupIdHasBeenSet =
true;
47 m_resiliencyGroupId = std::forward<ResiliencyGroupIdT>(value);
49 template <
typename ResiliencyGroupIdT = Aws::String>
62 template <
typename ResiliencyGroupArnT = Aws::String>
64 m_resiliencyGroupArnHasBeenSet =
true;
65 m_resiliencyGroupArn = std::forward<ResiliencyGroupArnT>(value);
67 template <
typename ResiliencyGroupArnT = Aws::String>
80 template <
typename ResiliencyGroupNameT = Aws::String>
82 m_resiliencyGroupNameHasBeenSet =
true;
83 m_resiliencyGroupName = std::forward<ResiliencyGroupNameT>(value);
85 template <
typename ResiliencyGroupNameT = Aws::String>
100 m_resiliencyGroupTypeHasBeenSet =
true;
101 m_resiliencyGroupType = value;
115 template <
typename OwnerAccountT = Aws::String>
117 m_ownerAccountHasBeenSet =
true;
118 m_ownerAccount = std::forward<OwnerAccountT>(value);
120 template <
typename OwnerAccountT = Aws::String>
135 m_stateHasBeenSet =
true;
150 template <
typename TagsT = Aws::Vector<Tag>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Vector<Tag>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsT = Tag>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace_back(std::forward<TagsT>(value));
181 bool m_resiliencyGroupIdHasBeenSet =
false;
182 bool m_resiliencyGroupArnHasBeenSet =
false;
183 bool m_resiliencyGroupNameHasBeenSet =
false;
184 bool m_resiliencyGroupTypeHasBeenSet =
false;
185 bool m_ownerAccountHasBeenSet =
false;
186 bool m_stateHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
bool StateHasBeenSet() const
ResiliencyGroup & WithResiliencyGroupArn(ResiliencyGroupArnT &&value)
void SetResiliencyGroupName(ResiliencyGroupNameT &&value)
void SetResiliencyGroupArn(ResiliencyGroupArnT &&value)
const Aws::String & GetResiliencyGroupArn() const
AWS_DIRECTCONNECT_API ResiliencyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
ResiliencyGroup & WithTags(TagsT &&value)
bool ResiliencyGroupNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
ResiliencyGroup & WithOwnerAccount(OwnerAccountT &&value)
ResiliencyGroupType GetResiliencyGroupType() const
const Aws::String & GetResiliencyGroupName() const
ResiliencyGroupState GetState() const
ResiliencyGroup & WithResiliencyGroupId(ResiliencyGroupIdT &&value)
AWS_DIRECTCONNECT_API ResiliencyGroup(Aws::Utils::Json::JsonView jsonValue)
void SetState(ResiliencyGroupState value)
void SetResiliencyGroupId(ResiliencyGroupIdT &&value)
bool ResiliencyGroupTypeHasBeenSet() const
ResiliencyGroup & WithResiliencyGroupType(ResiliencyGroupType value)
ResiliencyGroup & WithResiliencyGroupName(ResiliencyGroupNameT &&value)
bool OwnerAccountHasBeenSet() const
void SetTags(TagsT &&value)
AWS_DIRECTCONNECT_API ResiliencyGroup()=default
ResiliencyGroup & WithState(ResiliencyGroupState value)
void SetOwnerAccount(OwnerAccountT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResiliencyGroupArnHasBeenSet() const
bool TagsHasBeenSet() const
ResiliencyGroup & AddTags(TagsT &&value)
const Aws::String & GetResiliencyGroupId() const
const Aws::String & GetOwnerAccount() const
void SetResiliencyGroupType(ResiliencyGroupType value)
bool ResiliencyGroupIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue