7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/ViewRepresentation.h>
53 inline void SetIsProtected(
bool value) { m_isProtectedHasBeenSet =
true; m_isProtected = value; }
63 template<
typename DefinerT = Aws::String>
64 void SetDefiner(DefinerT&& value) { m_definerHasBeenSet =
true; m_definer = std::forward<DefinerT>(value); }
65 template<
typename DefinerT = Aws::String>
75 template<
typename SubObjectsT = Aws::Vector<Aws::String>>
76 void SetSubObjects(SubObjectsT&& value) { m_subObjectsHasBeenSet =
true; m_subObjects = std::forward<SubObjectsT>(value); }
77 template<
typename SubObjectsT = Aws::Vector<Aws::String>>
79 template<
typename SubObjectsT = Aws::String>
80 ViewDefinition&
AddSubObjects(SubObjectsT&& value) { m_subObjectsHasBeenSet =
true; m_subObjects.emplace_back(std::forward<SubObjectsT>(value));
return *
this; }
89 template<
typename RepresentationsT = Aws::Vector<ViewRepresentation>>
90 void SetRepresentations(RepresentationsT&& value) { m_representationsHasBeenSet =
true; m_representations = std::forward<RepresentationsT>(value); }
91 template<
typename RepresentationsT = Aws::Vector<ViewRepresentation>>
93 template<
typename RepresentationsT = ViewRepresentation>
94 ViewDefinition&
AddRepresentations(RepresentationsT&& value) { m_representationsHasBeenSet =
true; m_representations.emplace_back(std::forward<RepresentationsT>(value));
return *
this; }
98 bool m_isProtected{
false};
99 bool m_isProtectedHasBeenSet =
false;
102 bool m_definerHasBeenSet =
false;
105 bool m_subObjectsHasBeenSet =
false;
108 bool m_representationsHasBeenSet =
false;
void SetRepresentations(RepresentationsT &&value)
bool DefinerHasBeenSet() const
ViewDefinition & AddSubObjects(SubObjectsT &&value)
ViewDefinition & WithRepresentations(RepresentationsT &&value)
bool GetIsProtected() const
const Aws::Vector< Aws::String > & GetSubObjects() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsProtectedHasBeenSet() const
AWS_GLUE_API ViewDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubObjectsHasBeenSet() const
AWS_GLUE_API ViewDefinition()=default
const Aws::Vector< ViewRepresentation > & GetRepresentations() const
const Aws::String & GetDefiner() const
AWS_GLUE_API ViewDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetIsProtected(bool value)
void SetSubObjects(SubObjectsT &&value)
ViewDefinition & WithSubObjects(SubObjectsT &&value)
ViewDefinition & WithIsProtected(bool value)
bool RepresentationsHasBeenSet() const
void SetDefiner(DefinerT &&value)
ViewDefinition & AddRepresentations(RepresentationsT &&value)
ViewDefinition & WithDefiner(DefinerT &&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