AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ViewVersionSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ViewType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API ViewVersionSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 ViewVersionSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 ViewVersionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 ViewVersionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template<typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
85 template<typename NameT = Aws::String>
86 ViewVersionSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
88
90
93 inline ViewType GetType() const { return m_type; }
94 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 inline void SetType(ViewType value) { m_typeHasBeenSet = true; m_type = value; }
96 inline ViewVersionSummary& WithType(ViewType value) { SetType(value); return *this;}
98
100
103 inline int GetVersion() const { return m_version; }
104 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
105 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
106 inline ViewVersionSummary& WithVersion(int value) { SetVersion(value); return *this;}
108
110
113 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
114 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
115 template<typename VersionDescriptionT = Aws::String>
116 void SetVersionDescription(VersionDescriptionT&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::forward<VersionDescriptionT>(value); }
117 template<typename VersionDescriptionT = Aws::String>
118 ViewVersionSummary& WithVersionDescription(VersionDescriptionT&& value) { SetVersionDescription(std::forward<VersionDescriptionT>(value)); return *this;}
120 private:
121
122 Aws::String m_id;
123 bool m_idHasBeenSet = false;
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
135 bool m_typeHasBeenSet = false;
136
137 int m_version{0};
138 bool m_versionHasBeenSet = false;
139
140 Aws::String m_versionDescription;
141 bool m_versionDescriptionHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Connect
146} // 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