7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/LastRefreshType.h>
11#include <aws/glue/model/ViewRepresentation.h>
49 m_isProtectedHasBeenSet =
true;
50 m_isProtected = value;
64 template <
typename DefinerT = Aws::String>
66 m_definerHasBeenSet =
true;
67 m_definer = std::forward<DefinerT>(value);
69 template <
typename DefinerT = Aws::String>
84 m_viewVersionIdHasBeenSet =
true;
85 m_viewVersionId = value;
99 template <
typename ViewVersionTokenT = Aws::String>
101 m_viewVersionTokenHasBeenSet =
true;
102 m_viewVersionToken = std::forward<ViewVersionTokenT>(value);
104 template <
typename ViewVersionTokenT = Aws::String>
119 m_refreshSecondsHasBeenSet =
true;
120 m_refreshSeconds = value;
135 m_lastRefreshTypeHasBeenSet =
true;
136 m_lastRefreshType = value;
150 template <
typename SubObjectsT = Aws::Vector<Aws::String>>
152 m_subObjectsHasBeenSet =
true;
153 m_subObjects = std::forward<SubObjectsT>(value);
155 template <
typename SubObjectsT = Aws::Vector<Aws::String>>
160 template <
typename SubObjectsT = Aws::String>
162 m_subObjectsHasBeenSet =
true;
163 m_subObjects.emplace_back(std::forward<SubObjectsT>(value));
175 template <
typename SubObjectVersionIdsT = Aws::Vector<
long long>>
177 m_subObjectVersionIdsHasBeenSet =
true;
178 m_subObjectVersionIds = std::forward<SubObjectVersionIdsT>(value);
180 template <
typename SubObjectVersionIdsT = Aws::Vector<
long long>>
186 m_subObjectVersionIdsHasBeenSet =
true;
187 m_subObjectVersionIds.push_back(value);
198 template <
typename RepresentationsT = Aws::Vector<ViewRepresentation>>
200 m_representationsHasBeenSet =
true;
201 m_representations = std::forward<RepresentationsT>(value);
203 template <
typename RepresentationsT = Aws::Vector<ViewRepresentation>>
208 template <
typename RepresentationsT = ViewRepresentation>
210 m_representationsHasBeenSet =
true;
211 m_representations.emplace_back(std::forward<RepresentationsT>(value));
216 bool m_isProtected{
false};
220 long long m_viewVersionId{0};
224 long long m_refreshSeconds{0};
233 bool m_isProtectedHasBeenSet =
false;
234 bool m_definerHasBeenSet =
false;
235 bool m_viewVersionIdHasBeenSet =
false;
236 bool m_viewVersionTokenHasBeenSet =
false;
237 bool m_refreshSecondsHasBeenSet =
false;
238 bool m_lastRefreshTypeHasBeenSet =
false;
239 bool m_subObjectsHasBeenSet =
false;
240 bool m_subObjectVersionIdsHasBeenSet =
false;
241 bool m_representationsHasBeenSet =
false;
ViewDefinition & WithViewVersionId(long long value)
void SetRepresentations(RepresentationsT &&value)
ViewDefinition & WithLastRefreshType(LastRefreshType value)
bool DefinerHasBeenSet() const
ViewDefinition & AddSubObjects(SubObjectsT &&value)
ViewDefinition & WithRepresentations(RepresentationsT &&value)
void SetViewVersionId(long long value)
void SetViewVersionToken(ViewVersionTokenT &&value)
void SetRefreshSeconds(long long value)
bool ViewVersionTokenHasBeenSet() const
bool GetIsProtected() const
ViewDefinition & WithViewVersionToken(ViewVersionTokenT &&value)
const Aws::String & GetViewVersionToken() const
const Aws::Vector< Aws::String > & GetSubObjects() const
LastRefreshType GetLastRefreshType() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsProtectedHasBeenSet() const
void SetSubObjectVersionIds(SubObjectVersionIdsT &&value)
AWS_GLUE_API ViewDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ViewVersionIdHasBeenSet() const
bool SubObjectsHasBeenSet() const
AWS_GLUE_API ViewDefinition()=default
long long GetRefreshSeconds() const
ViewDefinition & WithSubObjectVersionIds(SubObjectVersionIdsT &&value)
const Aws::Vector< ViewRepresentation > & GetRepresentations() const
const Aws::String & GetDefiner() const
AWS_GLUE_API ViewDefinition(Aws::Utils::Json::JsonView jsonValue)
ViewDefinition & WithRefreshSeconds(long long value)
bool LastRefreshTypeHasBeenSet() const
void SetIsProtected(bool value)
void SetSubObjects(SubObjectsT &&value)
void SetLastRefreshType(LastRefreshType value)
const Aws::Vector< long long > & GetSubObjectVersionIds() const
ViewDefinition & WithSubObjects(SubObjectsT &&value)
ViewDefinition & WithIsProtected(bool value)
bool SubObjectVersionIdsHasBeenSet() const
bool RepresentationsHasBeenSet() const
bool RefreshSecondsHasBeenSet() const
long long GetViewVersionId() const
void SetDefiner(DefinerT &&value)
ViewDefinition & AddSubObjectVersionIds(long long 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