AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaChangeRequestDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/dataexchange/model/SchemaChangeDetails.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 DataExchange
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DATAEXCHANGE_API SchemaChangeRequestDetails();
40 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<SchemaChangeDetails>& GetChanges() const{ return m_changes; }
49 inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; }
50 inline void SetChanges(const Aws::Vector<SchemaChangeDetails>& value) { m_changesHasBeenSet = true; m_changes = value; }
51 inline void SetChanges(Aws::Vector<SchemaChangeDetails>&& value) { m_changesHasBeenSet = true; m_changes = std::move(value); }
53 inline SchemaChangeRequestDetails& WithChanges(Aws::Vector<SchemaChangeDetails>&& value) { SetChanges(std::move(value)); return *this;}
54 inline SchemaChangeRequestDetails& AddChanges(const SchemaChangeDetails& value) { m_changesHasBeenSet = true; m_changes.push_back(value); return *this; }
55 inline SchemaChangeRequestDetails& AddChanges(SchemaChangeDetails&& value) { m_changesHasBeenSet = true; m_changes.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Utils::DateTime& GetSchemaChangeAt() const{ return m_schemaChangeAt; }
63 inline bool SchemaChangeAtHasBeenSet() const { return m_schemaChangeAtHasBeenSet; }
64 inline void SetSchemaChangeAt(const Aws::Utils::DateTime& value) { m_schemaChangeAtHasBeenSet = true; m_schemaChangeAt = value; }
65 inline void SetSchemaChangeAt(Aws::Utils::DateTime&& value) { m_schemaChangeAtHasBeenSet = true; m_schemaChangeAt = std::move(value); }
67 inline SchemaChangeRequestDetails& WithSchemaChangeAt(Aws::Utils::DateTime&& value) { SetSchemaChangeAt(std::move(value)); return *this;}
69 private:
70
72 bool m_changesHasBeenSet = false;
73
74 Aws::Utils::DateTime m_schemaChangeAt;
75 bool m_schemaChangeAtHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DataExchange
80} // namespace Aws
void SetChanges(Aws::Vector< SchemaChangeDetails > &&value)
SchemaChangeRequestDetails & WithChanges(Aws::Vector< SchemaChangeDetails > &&value)
SchemaChangeRequestDetails & AddChanges(SchemaChangeDetails &&value)
void SetSchemaChangeAt(const Aws::Utils::DateTime &value)
SchemaChangeRequestDetails & WithChanges(const Aws::Vector< SchemaChangeDetails > &value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaChangeRequestDetails & WithSchemaChangeAt(const Aws::Utils::DateTime &value)
AWS_DATAEXCHANGE_API SchemaChangeRequestDetails(Aws::Utils::Json::JsonView jsonValue)
SchemaChangeRequestDetails & AddChanges(const SchemaChangeDetails &value)
const Aws::Vector< SchemaChangeDetails > & GetChanges() const
void SetChanges(const Aws::Vector< SchemaChangeDetails > &value)
SchemaChangeRequestDetails & WithSchemaChangeAt(Aws::Utils::DateTime &&value)
AWS_DATAEXCHANGE_API SchemaChangeRequestDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue