AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline ViewVersionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline ViewVersionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline ViewVersionSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline ViewVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline ViewVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline ViewVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline ViewVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ViewVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ViewVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline ViewVersionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline ViewVersionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline ViewVersionSummary& WithName(const char* value) { SetName(value); return *this;}
96
98
101 inline const ViewType& GetType() const{ return m_type; }
102 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
103 inline void SetType(const ViewType& value) { m_typeHasBeenSet = true; m_type = value; }
104 inline void SetType(ViewType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
105 inline ViewVersionSummary& WithType(const ViewType& value) { SetType(value); return *this;}
106 inline ViewVersionSummary& WithType(ViewType&& value) { SetType(std::move(value)); return *this;}
108
110
113 inline int GetVersion() const{ return m_version; }
114 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
115 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
116 inline ViewVersionSummary& WithVersion(int value) { SetVersion(value); return *this;}
118
120
123 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
124 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
125 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
126 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
127 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
128 inline ViewVersionSummary& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
129 inline ViewVersionSummary& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
130 inline ViewVersionSummary& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
132 private:
133
134 Aws::String m_id;
135 bool m_idHasBeenSet = false;
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 ViewType m_type;
147 bool m_typeHasBeenSet = false;
148
149 int m_version;
150 bool m_versionHasBeenSet = false;
151
152 Aws::String m_versionDescription;
153 bool m_versionDescriptionHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Connect
158} // namespace Aws
ViewVersionSummary & WithType(ViewType &&value)
AWS_CONNECT_API ViewVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ViewVersionSummary & WithName(const Aws::String &value)
void SetId(const Aws::String &value)
void SetVersionDescription(Aws::String &&value)
ViewVersionSummary & WithVersionDescription(const Aws::String &value)
ViewVersionSummary & WithArn(const char *value)
ViewVersionSummary & WithName(Aws::String &&value)
ViewVersionSummary & WithDescription(const Aws::String &value)
ViewVersionSummary & WithDescription(Aws::String &&value)
void SetVersionDescription(const Aws::String &value)
ViewVersionSummary & WithType(const ViewType &value)
ViewVersionSummary & WithArn(Aws::String &&value)
ViewVersionSummary & WithName(const char *value)
ViewVersionSummary & WithVersion(int value)
void SetArn(const Aws::String &value)
ViewVersionSummary & WithId(const char *value)
ViewVersionSummary & WithDescription(const char *value)
AWS_CONNECT_API ViewVersionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersionDescription() const
ViewVersionSummary & WithId(const Aws::String &value)
const Aws::String & GetDescription() const
ViewVersionSummary & WithVersionDescription(const char *value)
ViewVersionSummary & WithArn(const Aws::String &value)
ViewVersionSummary & WithVersionDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetName(const Aws::String &value)
ViewVersionSummary & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue