7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/clouddirectory/model/PolicyAttachment.h>
23namespace CloudDirectory
50 template<
typename PathT = Aws::String>
51 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
52 template<
typename PathT = Aws::String>
62 template<
typename PoliciesT = Aws::Vector<PolicyAttachment>>
63 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
64 template<
typename PoliciesT = Aws::Vector<PolicyAttachment>>
66 template<
typename PoliciesT = PolicyAttachment>
67 PolicyToPath&
AddPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies.emplace_back(std::forward<PoliciesT>(value));
return *
this; }
72 bool m_pathHasBeenSet =
false;
75 bool m_policiesHasBeenSet =
false;
const Aws::String & GetPath() const
const Aws::Vector< PolicyAttachment > & GetPolicies() const
PolicyToPath & WithPolicies(PoliciesT &&value)
PolicyToPath & AddPolicies(PoliciesT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
bool PathHasBeenSet() const
AWS_CLOUDDIRECTORY_API PolicyToPath(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API PolicyToPath & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PoliciesHasBeenSet() const
void SetPolicies(PoliciesT &&value)
AWS_CLOUDDIRECTORY_API PolicyToPath()=default
void SetPath(PathT &&value)
PolicyToPath & WithPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue