AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 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>
66 ViewDefinitionInput& WithDefiner(DefinerT&& value) { SetDefiner(std::forward<DefinerT>(value)); return *this;}
68
70
74 inline const Aws::Vector<ViewRepresentationInput>& GetRepresentations() const { return m_representations; }
75 inline bool RepresentationsHasBeenSet() const { return m_representationsHasBeenSet; }
76 template<typename RepresentationsT = Aws::Vector<ViewRepresentationInput>>
77 void SetRepresentations(RepresentationsT&& value) { m_representationsHasBeenSet = true; m_representations = std::forward<RepresentationsT>(value); }
78 template<typename RepresentationsT = Aws::Vector<ViewRepresentationInput>>
79 ViewDefinitionInput& WithRepresentations(RepresentationsT&& value) { SetRepresentations(std::forward<RepresentationsT>(value)); return *this;}
80 template<typename RepresentationsT = ViewRepresentationInput>
81 ViewDefinitionInput& AddRepresentations(RepresentationsT&& value) { m_representationsHasBeenSet = true; m_representations.emplace_back(std::forward<RepresentationsT>(value)); return *this; }
83
85
88 inline const Aws::Vector<Aws::String>& GetSubObjects() const { return m_subObjects; }
89 inline bool SubObjectsHasBeenSet() const { return m_subObjectsHasBeenSet; }
90 template<typename SubObjectsT = Aws::Vector<Aws::String>>
91 void SetSubObjects(SubObjectsT&& value) { m_subObjectsHasBeenSet = true; m_subObjects = std::forward<SubObjectsT>(value); }
92 template<typename SubObjectsT = Aws::Vector<Aws::String>>
93 ViewDefinitionInput& WithSubObjects(SubObjectsT&& value) { SetSubObjects(std::forward<SubObjectsT>(value)); return *this;}
94 template<typename SubObjectsT = Aws::String>
95 ViewDefinitionInput& AddSubObjects(SubObjectsT&& value) { m_subObjectsHasBeenSet = true; m_subObjects.emplace_back(std::forward<SubObjectsT>(value)); return *this; }
97 private:
98
99 bool m_isProtected{false};
100 bool m_isProtectedHasBeenSet = false;
101
102 Aws::String m_definer;
103 bool m_definerHasBeenSet = false;
104
105 Aws::Vector<ViewRepresentationInput> m_representations;
106 bool m_representationsHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_subObjects;
109 bool m_subObjectsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
ViewDefinitionInput & WithRepresentations(RepresentationsT &&value)
ViewDefinitionInput & WithIsProtected(bool value)
ViewDefinitionInput & AddSubObjects(SubObjectsT &&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
void SetRepresentations(RepresentationsT &&value)
const Aws::String & GetDefiner() const
ViewDefinitionInput & AddRepresentations(RepresentationsT &&value)
ViewDefinitionInput & WithSubObjects(SubObjectsT &&value)
ViewDefinitionInput & WithDefiner(DefinerT &&value)
AWS_GLUE_API ViewDefinitionInput()=default
AWS_GLUE_API ViewDefinitionInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubObjects() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue