AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ViewDefinitionInput.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/ViewRepresentationInput.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 ViewDefinitionInput();
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 ViewDefinitionInput& 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 ViewDefinitionInput& WithDefiner(const Aws::String& value) { SetDefiner(value); return *this;}
67 inline ViewDefinitionInput& WithDefiner(Aws::String&& value) { SetDefiner(std::move(value)); return *this;}
68 inline ViewDefinitionInput& WithDefiner(const char* value) { SetDefiner(value); return *this;}
70
72
76 inline const Aws::Vector<ViewRepresentationInput>& GetRepresentations() const{ return m_representations; }
77 inline bool RepresentationsHasBeenSet() const { return m_representationsHasBeenSet; }
78 inline void SetRepresentations(const Aws::Vector<ViewRepresentationInput>& value) { m_representationsHasBeenSet = true; m_representations = value; }
79 inline void SetRepresentations(Aws::Vector<ViewRepresentationInput>&& value) { m_representationsHasBeenSet = true; m_representations = std::move(value); }
82 inline ViewDefinitionInput& AddRepresentations(const ViewRepresentationInput& value) { m_representationsHasBeenSet = true; m_representations.push_back(value); return *this; }
83 inline ViewDefinitionInput& AddRepresentations(ViewRepresentationInput&& value) { m_representationsHasBeenSet = true; m_representations.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::Vector<Aws::String>& GetSubObjects() const{ return m_subObjects; }
91 inline bool SubObjectsHasBeenSet() const { return m_subObjectsHasBeenSet; }
92 inline void SetSubObjects(const Aws::Vector<Aws::String>& value) { m_subObjectsHasBeenSet = true; m_subObjects = value; }
93 inline void SetSubObjects(Aws::Vector<Aws::String>&& value) { m_subObjectsHasBeenSet = true; m_subObjects = std::move(value); }
94 inline ViewDefinitionInput& WithSubObjects(const Aws::Vector<Aws::String>& value) { SetSubObjects(value); return *this;}
95 inline ViewDefinitionInput& WithSubObjects(Aws::Vector<Aws::String>&& value) { SetSubObjects(std::move(value)); return *this;}
96 inline ViewDefinitionInput& AddSubObjects(const Aws::String& value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(value); return *this; }
97 inline ViewDefinitionInput& AddSubObjects(Aws::String&& value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(std::move(value)); return *this; }
98 inline ViewDefinitionInput& AddSubObjects(const char* value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(value); return *this; }
100 private:
101
102 bool m_isProtected;
103 bool m_isProtectedHasBeenSet = false;
104
105 Aws::String m_definer;
106 bool m_definerHasBeenSet = false;
107
108 Aws::Vector<ViewRepresentationInput> m_representations;
109 bool m_representationsHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_subObjects;
112 bool m_subObjectsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glue
117} // namespace Aws
void SetRepresentations(Aws::Vector< ViewRepresentationInput > &&value)
ViewDefinitionInput & WithDefiner(const Aws::String &value)
ViewDefinitionInput & WithSubObjects(Aws::Vector< Aws::String > &&value)
ViewDefinitionInput & WithIsProtected(bool value)
ViewDefinitionInput & WithRepresentations(Aws::Vector< ViewRepresentationInput > &&value)
const Aws::Vector< ViewRepresentationInput > & GetRepresentations() const
AWS_GLUE_API ViewDefinitionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ViewDefinitionInput & WithDefiner(Aws::String &&value)
void SetRepresentations(const Aws::Vector< ViewRepresentationInput > &value)
ViewDefinitionInput & AddSubObjects(const char *value)
ViewDefinitionInput & AddSubObjects(const Aws::String &value)
const Aws::String & GetDefiner() const
void SetDefiner(const Aws::String &value)
ViewDefinitionInput & WithRepresentations(const Aws::Vector< ViewRepresentationInput > &value)
void SetSubObjects(const Aws::Vector< Aws::String > &value)
ViewDefinitionInput & WithDefiner(const char *value)
ViewDefinitionInput & AddSubObjects(Aws::String &&value)
ViewDefinitionInput & AddRepresentations(const ViewRepresentationInput &value)
ViewDefinitionInput & AddRepresentations(ViewRepresentationInput &&value)
void SetSubObjects(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API ViewDefinitionInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubObjects() const
ViewDefinitionInput & WithSubObjects(const Aws::Vector< Aws::String > &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