AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaChangeDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/model/SchemaChangeType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataExchange
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAEXCHANGE_API SchemaChangeDetails();
37 AWS_DATAEXCHANGE_API SchemaChangeDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline SchemaChangeDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline SchemaChangeDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline SchemaChangeDetails& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const SchemaChangeType& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const SchemaChangeType& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(SchemaChangeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline SchemaChangeDetails& WithType(const SchemaChangeType& value) { SetType(value); return *this;}
65 inline SchemaChangeDetails& WithType(SchemaChangeType&& value) { SetType(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline SchemaChangeDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline SchemaChangeDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline SchemaChangeDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 SchemaChangeType m_type;
88 bool m_typeHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataExchange
96} // namespace Aws
AWS_DATAEXCHANGE_API SchemaChangeDetails(Aws::Utils::Json::JsonView jsonValue)
SchemaChangeDetails & WithDescription(const char *value)
AWS_DATAEXCHANGE_API SchemaChangeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaChangeDetails & WithType(const SchemaChangeType &value)
SchemaChangeDetails & WithType(SchemaChangeType &&value)
SchemaChangeDetails & WithDescription(const Aws::String &value)
SchemaChangeDetails & WithName(const char *value)
SchemaChangeDetails & WithName(const Aws::String &value)
void SetType(const SchemaChangeType &value)
SchemaChangeDetails & WithName(Aws::String &&value)
SchemaChangeDetails & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue