AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ViewVersionSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ViewType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API ViewVersionSummary() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 ViewVersionSummary& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
65 ViewVersionSummary& WithArn(ArnT&& value) {
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 ViewVersionSummary& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template <typename NameT = Aws::String>
96 void SetName(NameT&& value) {
97 m_nameHasBeenSet = true;
98 m_name = std::forward<NameT>(value);
99 }
100 template <typename NameT = Aws::String>
101 ViewVersionSummary& WithName(NameT&& value) {
102 SetName(std::forward<NameT>(value));
103 return *this;
104 }
106
108
111 inline ViewType GetType() const { return m_type; }
112 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
113 inline void SetType(ViewType value) {
114 m_typeHasBeenSet = true;
115 m_type = value;
116 }
118 SetType(value);
119 return *this;
120 }
122
124
127 inline int GetVersion() const { return m_version; }
128 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
129 inline void SetVersion(int value) {
130 m_versionHasBeenSet = true;
131 m_version = value;
132 }
133 inline ViewVersionSummary& WithVersion(int value) {
134 SetVersion(value);
135 return *this;
136 }
138
140
143 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
144 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
145 template <typename VersionDescriptionT = Aws::String>
146 void SetVersionDescription(VersionDescriptionT&& value) {
147 m_versionDescriptionHasBeenSet = true;
148 m_versionDescription = std::forward<VersionDescriptionT>(value);
149 }
150 template <typename VersionDescriptionT = Aws::String>
151 ViewVersionSummary& WithVersionDescription(VersionDescriptionT&& value) {
152 SetVersionDescription(std::forward<VersionDescriptionT>(value));
153 return *this;
154 }
156 private:
157 Aws::String m_id;
158
159 Aws::String m_arn;
160
161 Aws::String m_description;
162
163 Aws::String m_name;
164
166
167 int m_version{0};
168
169 Aws::String m_versionDescription;
170 bool m_idHasBeenSet = false;
171 bool m_arnHasBeenSet = false;
172 bool m_descriptionHasBeenSet = false;
173 bool m_nameHasBeenSet = false;
174 bool m_typeHasBeenSet = false;
175 bool m_versionHasBeenSet = false;
176 bool m_versionDescriptionHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace Connect
181} // namespace Aws
void SetDescription(DescriptionT &&value)
AWS_CONNECT_API ViewVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ViewVersionSummary & WithName(NameT &&value)
ViewVersionSummary & WithType(ViewType value)
ViewVersionSummary & WithArn(ArnT &&value)
ViewVersionSummary & WithVersionDescription(VersionDescriptionT &&value)
AWS_CONNECT_API ViewVersionSummary()=default
ViewVersionSummary & WithDescription(DescriptionT &&value)
ViewVersionSummary & WithVersion(int value)
AWS_CONNECT_API ViewVersionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersionDescription() const
ViewVersionSummary & WithId(IdT &&value)
const Aws::String & GetDescription() const
void SetVersionDescription(VersionDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue