AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
Change.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ChangeSpecificationType.h>
9#include <aws/cleanrooms/model/ChangeSpecification.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cleanrooms/model/ChangeType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
35 class Change
36 {
37 public:
38 AWS_CLEANROOMS_API Change() = default;
39 AWS_CLEANROOMS_API Change(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API Change& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline ChangeSpecificationType GetSpecificationType() const { return m_specificationType; }
49 inline bool SpecificationTypeHasBeenSet() const { return m_specificationTypeHasBeenSet; }
50 inline void SetSpecificationType(ChangeSpecificationType value) { m_specificationTypeHasBeenSet = true; m_specificationType = value; }
53
55
58 inline const ChangeSpecification& GetSpecification() const { return m_specification; }
59 inline bool SpecificationHasBeenSet() const { return m_specificationHasBeenSet; }
60 template<typename SpecificationT = ChangeSpecification>
61 void SetSpecification(SpecificationT&& value) { m_specificationHasBeenSet = true; m_specification = std::forward<SpecificationT>(value); }
62 template<typename SpecificationT = ChangeSpecification>
63 Change& WithSpecification(SpecificationT&& value) { SetSpecification(std::forward<SpecificationT>(value)); return *this;}
65
67
70 inline const Aws::Vector<ChangeType>& GetTypes() const { return m_types; }
71 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
72 template<typename TypesT = Aws::Vector<ChangeType>>
73 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
74 template<typename TypesT = Aws::Vector<ChangeType>>
75 Change& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
76 inline Change& AddTypes(ChangeType value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
78 private:
79
81 bool m_specificationTypeHasBeenSet = false;
82
83 ChangeSpecification m_specification;
84 bool m_specificationHasBeenSet = false;
85
87 bool m_typesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CleanRooms
92} // namespace Aws
void SetSpecification(SpecificationT &&value)
Definition Change.h:61
AWS_CLEANROOMS_API Change()=default
const Aws::Vector< ChangeType > & GetTypes() const
Definition Change.h:70
Change & WithSpecification(SpecificationT &&value)
Definition Change.h:63
const ChangeSpecification & GetSpecification() const
Definition Change.h:58
bool SpecificationHasBeenSet() const
Definition Change.h:59
Change & AddTypes(ChangeType value)
Definition Change.h:76
AWS_CLEANROOMS_API Change & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpecificationType(ChangeSpecificationType value)
Definition Change.h:50
ChangeSpecificationType GetSpecificationType() const
Definition Change.h:48
bool SpecificationTypeHasBeenSet() const
Definition Change.h:49
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypesHasBeenSet() const
Definition Change.h:71
Change & WithSpecificationType(ChangeSpecificationType value)
Definition Change.h:51
Change & WithTypes(TypesT &&value)
Definition Change.h:75
void SetTypes(TypesT &&value)
Definition Change.h:73
AWS_CLEANROOMS_API Change(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue