AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ViewSummary.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 <aws/connect/model/ViewStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECT_API ViewSummary();
37 AWS_CONNECT_API ViewSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ViewSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ViewSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ViewSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline ViewSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline ViewSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline ViewSummary& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline ViewSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline ViewSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline ViewSummary& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const ViewType& GetType() const{ return m_type; }
89 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 inline void SetType(const ViewType& value) { m_typeHasBeenSet = true; m_type = value; }
91 inline void SetType(ViewType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
92 inline ViewSummary& WithType(const ViewType& value) { SetType(value); return *this;}
93 inline ViewSummary& WithType(ViewType&& value) { SetType(std::move(value)); return *this;}
95
97
102 inline const ViewStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const ViewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(ViewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline ViewSummary& WithStatus(const ViewStatus& value) { SetStatus(value); return *this;}
107 inline ViewSummary& WithStatus(ViewStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetDescription() const{ return m_description; }
115 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
117 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
118 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
119 inline ViewSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
120 inline ViewSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
121 inline ViewSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
123 private:
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 ViewType m_type;
135 bool m_typeHasBeenSet = false;
136
137 ViewStatus m_status;
138 bool m_statusHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Connect
146} // namespace Aws
ViewSummary & WithId(const Aws::String &value)
Definition ViewSummary.h:51
void SetId(const char *value)
Definition ViewSummary.h:50
void SetName(const Aws::String &value)
Definition ViewSummary.h:76
ViewSummary & WithDescription(Aws::String &&value)
ViewSummary & WithType(ViewType &&value)
Definition ViewSummary.h:93
const ViewType & GetType() const
Definition ViewSummary.h:88
ViewSummary & WithName(Aws::String &&value)
Definition ViewSummary.h:80
void SetArn(Aws::String &&value)
Definition ViewSummary.h:63
ViewSummary & WithId(const char *value)
Definition ViewSummary.h:53
void SetDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetId(Aws::String &&value)
Definition ViewSummary.h:49
void SetDescription(const char *value)
const Aws::String & GetDescription() const
void SetArn(const char *value)
Definition ViewSummary.h:64
void SetName(const char *value)
Definition ViewSummary.h:78
ViewSummary & WithStatus(ViewStatus &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
Definition ViewSummary.h:60
ViewSummary & WithArn(const Aws::String &value)
Definition ViewSummary.h:65
const ViewStatus & GetStatus() const
void SetName(Aws::String &&value)
Definition ViewSummary.h:77
ViewSummary & WithArn(const char *value)
Definition ViewSummary.h:67
ViewSummary & WithDescription(const char *value)
ViewSummary & WithStatus(const ViewStatus &value)
ViewSummary & WithDescription(const Aws::String &value)
void SetId(const Aws::String &value)
Definition ViewSummary.h:48
const Aws::String & GetId() const
Definition ViewSummary.h:46
AWS_CONNECT_API ViewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewSummary & WithName(const Aws::String &value)
Definition ViewSummary.h:79
void SetType(ViewType &&value)
Definition ViewSummary.h:91
const Aws::String & GetName() const
Definition ViewSummary.h:74
void SetType(const ViewType &value)
Definition ViewSummary.h:90
void SetStatus(ViewStatus &&value)
AWS_CONNECT_API ViewSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ViewStatus &value)
ViewSummary & WithType(const ViewType &value)
Definition ViewSummary.h:92
ViewSummary & WithName(const char *value)
Definition ViewSummary.h:81
ViewSummary & WithArn(Aws::String &&value)
Definition ViewSummary.h:66
ViewSummary & WithId(Aws::String &&value)
Definition ViewSummary.h:52
void SetArn(const Aws::String &value)
Definition ViewSummary.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue