7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
10#include <aws/organizations/model/HandshakeResourceType.h>
21namespace Organizations {
43 template <
typename ValueT = Aws::String>
45 m_valueHasBeenSet =
true;
46 m_value = std::forward<ValueT>(value);
48 template <
typename ValueT = Aws::String>
50 SetValue(std::forward<ValueT>(value));
69 m_typeHasBeenSet =
true;
86 template <
typename ResourcesT = Aws::Vector<HandshakeResource>>
88 m_resourcesHasBeenSet =
true;
89 m_resources = std::forward<ResourcesT>(value);
91 template <
typename ResourcesT = Aws::Vector<HandshakeResource>>
96 template <
typename ResourcesT = HandshakeResource>
98 m_resourcesHasBeenSet =
true;
99 m_resources.emplace_back(std::forward<ResourcesT>(value));
109 bool m_valueHasBeenSet =
false;
110 bool m_typeHasBeenSet =
false;
111 bool m_resourcesHasBeenSet =
false;
bool TypeHasBeenSet() const
HandshakeResource & AddResources(ResourcesT &&value)
bool ResourcesHasBeenSet() const
HandshakeResource & WithValue(ValueT &&value)
AWS_ORGANIZATIONS_API HandshakeResource()=default
HandshakeResource & WithType(HandshakeResourceType value)
const Aws::Vector< HandshakeResource > & GetResources() const
AWS_ORGANIZATIONS_API HandshakeResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
HandshakeResourceType GetType() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResources(ResourcesT &&value)
AWS_ORGANIZATIONS_API HandshakeResource(Aws::Utils::Json::JsonView jsonValue)
HandshakeResource & WithResources(ResourcesT &&value)
bool ValueHasBeenSet() const
void SetType(HandshakeResourceType value)
const Aws::String & GetValue() 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