AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
View.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectparticipant/model/ViewContent.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 ConnectParticipant
23{
24namespace Model
25{
26
33 class View
34 {
35 public:
36 AWS_CONNECTPARTICIPANT_API View();
37 AWS_CONNECTPARTICIPANT_API View(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTPARTICIPANT_API View& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTPARTICIPANT_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 View& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline View& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline View& 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 View& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline View& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline View& 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 View& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline View& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline View& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline int GetVersion() const{ return m_version; }
89 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
90 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
91 inline View& WithVersion(int value) { SetVersion(value); return *this;}
93
95
99 inline const ViewContent& GetContent() const{ return m_content; }
100 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
101 inline void SetContent(const ViewContent& value) { m_contentHasBeenSet = true; m_content = value; }
102 inline void SetContent(ViewContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
103 inline View& WithContent(const ViewContent& value) { SetContent(value); return *this;}
104 inline View& WithContent(ViewContent&& value) { SetContent(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 Aws::String m_arn;
112 bool m_arnHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 int m_version;
118 bool m_versionHasBeenSet = false;
119
120 ViewContent m_content;
121 bool m_contentHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ConnectParticipant
126} // namespace Aws
const Aws::String & GetId() const
Definition View.h:46
const Aws::String & GetName() const
Definition View.h:74
View & WithContent(ViewContent &&value)
Definition View.h:104
AWS_CONNECTPARTICIPANT_API View()
View & WithId(Aws::String &&value)
Definition View.h:52
View & WithName(const Aws::String &value)
Definition View.h:79
void SetName(Aws::String &&value)
Definition View.h:77
void SetContent(ViewContent &&value)
Definition View.h:102
void SetArn(Aws::String &&value)
Definition View.h:63
const Aws::String & GetArn() const
Definition View.h:60
View & WithId(const char *value)
Definition View.h:53
View & WithName(const char *value)
Definition View.h:81
void SetName(const char *value)
Definition View.h:78
View & WithVersion(int value)
Definition View.h:91
void SetId(Aws::String &&value)
Definition View.h:49
AWS_CONNECTPARTICIPANT_API View(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Definition View.h:50
View & WithContent(const ViewContent &value)
Definition View.h:103
void SetName(const Aws::String &value)
Definition View.h:76
AWS_CONNECTPARTICIPANT_API View & operator=(Aws::Utils::Json::JsonView jsonValue)
View & WithName(Aws::String &&value)
Definition View.h:80
const ViewContent & GetContent() const
Definition View.h:99
View & WithArn(const char *value)
Definition View.h:67
void SetArn(const Aws::String &value)
Definition View.h:62
void SetContent(const ViewContent &value)
Definition View.h:101
void SetArn(const char *value)
Definition View.h:64
View & WithArn(const Aws::String &value)
Definition View.h:65
View & WithId(const Aws::String &value)
Definition View.h:51
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
View & WithArn(Aws::String &&value)
Definition View.h:66
void SetId(const Aws::String &value)
Definition View.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue