7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/PolicyAttachment.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CloudDirectory {
44 template <
typename PathT = Aws::String>
46 m_pathHasBeenSet =
true;
47 m_path = std::forward<PathT>(value);
49 template <
typename PathT = Aws::String>
51 SetPath(std::forward<PathT>(value));
62 template <
typename PoliciesT = Aws::Vector<PolicyAttachment>>
64 m_policiesHasBeenSet =
true;
65 m_policies = std::forward<PoliciesT>(value);
67 template <
typename PoliciesT = Aws::Vector<PolicyAttachment>>
72 template <
typename PoliciesT = PolicyAttachment>
74 m_policiesHasBeenSet =
true;
75 m_policies.emplace_back(std::forward<PoliciesT>(value));
83 bool m_pathHasBeenSet =
false;
84 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