AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ViewDefinition.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API ViewDefinition();
41
42
44
51 inline bool GetIsProtected() const{ return m_isProtected; }
52 inline bool IsProtectedHasBeenSet() const { return m_isProtectedHasBeenSet; }
53 inline void SetIsProtected(bool value) { m_isProtectedHasBeenSet = true; m_isProtected = value; }
54 inline ViewDefinition& WithIsProtected(bool value) { SetIsProtected(value); return *this;}
56
58
61 inline const Aws::String& GetDefiner() const{ return m_definer; }
62 inline bool DefinerHasBeenSet() const { return m_definerHasBeenSet; }
63 inline void SetDefiner(const Aws::String& value) { m_definerHasBeenSet = true; m_definer = value; }
64 inline void SetDefiner(Aws::String&& value) { m_definerHasBeenSet = true; m_definer = std::move(value); }
65 inline void SetDefiner(const char* value) { m_definerHasBeenSet = true; m_definer.assign(value); }
66 inline ViewDefinition& WithDefiner(const Aws::String& value) { SetDefiner(value); return *this;}
67 inline ViewDefinition& WithDefiner(Aws::String&& value) { SetDefiner(std::move(value)); return *this;}
68 inline ViewDefinition& WithDefiner(const char* value) { SetDefiner(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetSubObjects() const{ return m_subObjects; }
76 inline bool SubObjectsHasBeenSet() const { return m_subObjectsHasBeenSet; }
77 inline void SetSubObjects(const Aws::Vector<Aws::String>& value) { m_subObjectsHasBeenSet = true; m_subObjects = value; }
78 inline void SetSubObjects(Aws::Vector<Aws::String>&& value) { m_subObjectsHasBeenSet = true; m_subObjects = std::move(value); }
79 inline ViewDefinition& WithSubObjects(const Aws::Vector<Aws::String>& value) { SetSubObjects(value); return *this;}
80 inline ViewDefinition& WithSubObjects(Aws::Vector<Aws::String>&& value) { SetSubObjects(std::move(value)); return *this;}
81 inline ViewDefinition& AddSubObjects(const Aws::String& value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(value); return *this; }
82 inline ViewDefinition& AddSubObjects(Aws::String&& value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(std::move(value)); return *this; }
83 inline ViewDefinition& AddSubObjects(const char* value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(value); return *this; }
85
87
90 inline const Aws::Vector<ViewRepresentation>& GetRepresentations() const{ return m_representations; }
91 inline bool RepresentationsHasBeenSet() const { return m_representationsHasBeenSet; }
92 inline void SetRepresentations(const Aws::Vector<ViewRepresentation>& value) { m_representationsHasBeenSet = true; m_representations = value; }
93 inline void SetRepresentations(Aws::Vector<ViewRepresentation>&& value) { m_representationsHasBeenSet = true; m_representations = std::move(value); }
95 inline ViewDefinition& WithRepresentations(Aws::Vector<ViewRepresentation>&& value) { SetRepresentations(std::move(value)); return *this;}
96 inline ViewDefinition& AddRepresentations(const ViewRepresentation& value) { m_representationsHasBeenSet = true; m_representations.push_back(value); return *this; }
97 inline ViewDefinition& AddRepresentations(ViewRepresentation&& value) { m_representationsHasBeenSet = true; m_representations.push_back(std::move(value)); return *this; }
99 private:
100
101 bool m_isProtected;
102 bool m_isProtectedHasBeenSet = false;
103
104 Aws::String m_definer;
105 bool m_definerHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_subObjects;
108 bool m_subObjectsHasBeenSet = false;
109
110 Aws::Vector<ViewRepresentation> m_representations;
111 bool m_representationsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Glue
116} // namespace Aws
ViewDefinition & AddRepresentations(const ViewRepresentation &value)
void SetSubObjects(const Aws::Vector< Aws::String > &value)
ViewDefinition & WithSubObjects(Aws::Vector< Aws::String > &&value)
ViewDefinition & WithRepresentations(const Aws::Vector< ViewRepresentation > &value)
const Aws::Vector< Aws::String > & GetSubObjects() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ViewDefinition & AddRepresentations(ViewRepresentation &&value)
AWS_GLUE_API ViewDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefiner(Aws::String &&value)
void SetDefiner(const Aws::String &value)
ViewDefinition & AddSubObjects(Aws::String &&value)
ViewDefinition & WithRepresentations(Aws::Vector< ViewRepresentation > &&value)
void SetSubObjects(Aws::Vector< Aws::String > &&value)
const Aws::Vector< ViewRepresentation > & GetRepresentations() const
ViewDefinition & AddSubObjects(const Aws::String &value)
const Aws::String & GetDefiner() const
void SetRepresentations(Aws::Vector< ViewRepresentation > &&value)
void SetRepresentations(const Aws::Vector< ViewRepresentation > &value)
AWS_GLUE_API ViewDefinition(Aws::Utils::Json::JsonView jsonValue)
ViewDefinition & WithDefiner(Aws::String &&value)
ViewDefinition & WithSubObjects(const Aws::Vector< Aws::String > &value)
void SetDefiner(const char *value)
ViewDefinition & WithIsProtected(bool value)
ViewDefinition & AddSubObjects(const char *value)
ViewDefinition & WithDefiner(const Aws::String &value)
ViewDefinition & WithDefiner(const char *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