AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CdcSpecification.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/CdcStatus.h>
9#include <aws/keyspaces/model/ViewType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/keyspaces/model/CdcPropagateTags.h>
12#include <aws/keyspaces/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Keyspaces
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_KEYSPACES_API CdcSpecification() = default;
43 AWS_KEYSPACES_API CdcSpecification(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline CdcStatus GetStatus() const { return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(CdcStatus value) { m_statusHasBeenSet = true; m_status = value; }
56 inline CdcSpecification& WithStatus(CdcStatus value) { SetStatus(value); return *this;}
58
60
71 inline ViewType GetViewType() const { return m_viewType; }
72 inline bool ViewTypeHasBeenSet() const { return m_viewTypeHasBeenSet; }
73 inline void SetViewType(ViewType value) { m_viewTypeHasBeenSet = true; m_viewType = value; }
74 inline CdcSpecification& WithViewType(ViewType value) { SetViewType(value); return *this;}
76
78
81 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 template<typename TagsT = Aws::Vector<Tag>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
85 template<typename TagsT = Aws::Vector<Tag>>
86 CdcSpecification& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
87 template<typename TagsT = Tag>
88 CdcSpecification& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
90
92
95 inline CdcPropagateTags GetPropagateTags() const { return m_propagateTags; }
96 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
97 inline void SetPropagateTags(CdcPropagateTags value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
100 private:
101
103 bool m_statusHasBeenSet = false;
104
105 ViewType m_viewType{ViewType::NOT_SET};
106 bool m_viewTypeHasBeenSet = false;
107
108 Aws::Vector<Tag> m_tags;
109 bool m_tagsHasBeenSet = false;
110
112 bool m_propagateTagsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Keyspaces
117} // namespace Aws
AWS_KEYSPACES_API CdcSpecification()=default
CdcSpecification & WithStatus(CdcStatus value)
CdcSpecification & WithPropagateTags(CdcPropagateTags value)
CdcSpecification & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KEYSPACES_API CdcSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CdcPropagateTags GetPropagateTags() const
CdcSpecification & WithViewType(ViewType value)
AWS_KEYSPACES_API CdcSpecification(Aws::Utils::Json::JsonView jsonValue)
CdcSpecification & AddTags(TagsT &&value)
void SetPropagateTags(CdcPropagateTags value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue