AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 SchemaChangeDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline SchemaChangeType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(SchemaChangeType value) { m_typeHasBeenSet = true; m_type = value; }
61 inline SchemaChangeDetails& WithType(SchemaChangeType value) { SetType(value); return *this;}
63
65
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 SchemaChangeDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
82 bool m_typeHasBeenSet = false;
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DataExchange
90} // namespace Aws
SchemaChangeDetails & WithName(NameT &&value)
AWS_DATAEXCHANGE_API SchemaChangeDetails(Aws::Utils::Json::JsonView jsonValue)
SchemaChangeDetails & WithType(SchemaChangeType value)
AWS_DATAEXCHANGE_API SchemaChangeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API SchemaChangeDetails()=default
SchemaChangeDetails & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue