AWS SDK for C++  1.8.126
AWS SDK for C++
KeySchemaElement.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glue
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline KeySchemaElement& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline KeySchemaElement& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline KeySchemaElement& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetType() const{ return m_type; }
86 
90  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
91 
95  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
96 
100  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
101 
105  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
106 
110  inline KeySchemaElement& WithType(const Aws::String& value) { SetType(value); return *this;}
111 
115  inline KeySchemaElement& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
116 
120  inline KeySchemaElement& WithType(const char* value) { SetType(value); return *this;}
121 
122  private:
123 
124  Aws::String m_name;
125  bool m_nameHasBeenSet;
126 
127  Aws::String m_type;
128  bool m_typeHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Glue
133 } // namespace Aws
Aws::Glue::Model::KeySchemaElement::WithName
KeySchemaElement & WithName(const Aws::String &value)
Definition: KeySchemaElement.h:69
Aws::Glue::Model::KeySchemaElement::KeySchemaElement
KeySchemaElement()
Aws::Glue::Model::KeySchemaElement::SetType
void SetType(const char *value)
Definition: KeySchemaElement.h:105
Aws::Glue::Model::KeySchemaElement::GetName
const Aws::String & GetName() const
Definition: KeySchemaElement.h:44
Aws::Glue::Model::KeySchemaElement::WithType
KeySchemaElement & WithType(const char *value)
Definition: KeySchemaElement.h:120
Glue_EXPORTS.h
Aws::Glue::Model::KeySchemaElement::NameHasBeenSet
bool NameHasBeenSet() const
Definition: KeySchemaElement.h:49
Aws::Glue::Model::KeySchemaElement::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: KeySchemaElement.h:90
Aws::Glue::Model::KeySchemaElement::SetType
void SetType(const Aws::String &value)
Definition: KeySchemaElement.h:95
Aws::Glue::Model::KeySchemaElement::SetName
void SetName(const char *value)
Definition: KeySchemaElement.h:64
Aws::Glue::Model::KeySchemaElement::SetName
void SetName(const Aws::String &value)
Definition: KeySchemaElement.h:54
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::KeySchemaElement::SetType
void SetType(Aws::String &&value)
Definition: KeySchemaElement.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Glue::Model::KeySchemaElement::operator=
KeySchemaElement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glue::Model::KeySchemaElement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glue::Model::KeySchemaElement::WithType
KeySchemaElement & WithType(const Aws::String &value)
Definition: KeySchemaElement.h:110
Aws::Glue::Model::KeySchemaElement::WithName
KeySchemaElement & WithName(const char *value)
Definition: KeySchemaElement.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::KeySchemaElement::SetName
void SetName(Aws::String &&value)
Definition: KeySchemaElement.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::KeySchemaElement::KeySchemaElement
KeySchemaElement(Aws::Utils::Json::JsonView jsonValue)
Aws::Glue::Model::KeySchemaElement::WithType
KeySchemaElement & WithType(Aws::String &&value)
Definition: KeySchemaElement.h:115
Aws::Glue::Model::KeySchemaElement::GetType
const Aws::String & GetType() const
Definition: KeySchemaElement.h:85
Aws::Glue::Model::KeySchemaElement
Definition: KeySchemaElement.h:33
Aws::Glue::Model::KeySchemaElement::WithName
KeySchemaElement & WithName(Aws::String &&value)
Definition: KeySchemaElement.h:74