AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ViewSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ViewStatus.h>
9#include <aws/connect/model/ViewType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
30 public:
31 AWS_CONNECT_API ViewSummary() = default;
32 AWS_CONNECT_API ViewSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
48 ViewSummary& WithId(IdT&& value) {
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
66 ViewSummary& WithArn(ArnT&& value) {
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 ViewSummary& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline ViewType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(ViewType value) {
97 m_typeHasBeenSet = true;
98 m_type = value;
99 }
101 SetType(value);
102 return *this;
103 }
105
107
112 inline ViewStatus GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(ViewStatus value) {
115 m_statusHasBeenSet = true;
116 m_status = value;
117 }
119 SetStatus(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetDescription() const { return m_description; }
129 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
130 template <typename DescriptionT = Aws::String>
131 void SetDescription(DescriptionT&& value) {
132 m_descriptionHasBeenSet = true;
133 m_description = std::forward<DescriptionT>(value);
134 }
135 template <typename DescriptionT = Aws::String>
136 ViewSummary& WithDescription(DescriptionT&& value) {
137 SetDescription(std::forward<DescriptionT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_id;
143
144 Aws::String m_arn;
145
146 Aws::String m_name;
147
149
151
152 Aws::String m_description;
153 bool m_idHasBeenSet = false;
154 bool m_arnHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_typeHasBeenSet = false;
157 bool m_statusHasBeenSet = false;
158 bool m_descriptionHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Connect
163} // namespace Aws
ViewSummary & WithName(NameT &&value)
Definition ViewSummary.h:84
ViewSummary & WithDescription(DescriptionT &&value)
void SetStatus(ViewStatus value)
void SetType(ViewType value)
Definition ViewSummary.h:96
ViewSummary & WithId(IdT &&value)
Definition ViewSummary.h:48
const Aws::String & GetDescription() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetArn() const
Definition ViewSummary.h:58
AWS_CONNECT_API ViewSummary()=default
const Aws::String & GetId() const
Definition ViewSummary.h:40
AWS_CONNECT_API ViewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewSummary & WithStatus(ViewStatus value)
const Aws::String & GetName() const
Definition ViewSummary.h:76
ViewSummary & WithArn(ArnT &&value)
Definition ViewSummary.h:66
void SetName(NameT &&value)
Definition ViewSummary.h:79
AWS_CONNECT_API ViewSummary(Aws::Utils::Json::JsonView jsonValue)
ViewSummary & WithType(ViewType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue