AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 View& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template<typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 View& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 View& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline int GetVersion() const { return m_version; }
83 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
84 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
85 inline View& WithVersion(int value) { SetVersion(value); return *this;}
87
89
93 inline const ViewContent& GetContent() const { return m_content; }
94 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
95 template<typename ContentT = ViewContent>
96 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
97 template<typename ContentT = ViewContent>
98 View& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
100 private:
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 int m_version{0};
112 bool m_versionHasBeenSet = false;
113
114 ViewContent m_content;
115 bool m_contentHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ConnectParticipant
120} // namespace Aws
const Aws::String & GetId() const
Definition View.h:46
const Aws::String & GetName() const
Definition View.h:70
View & WithName(NameT &&value)
Definition View.h:75
void SetArn(ArnT &&value)
Definition View.h:61
const Aws::String & GetArn() const
Definition View.h:58
View & WithVersion(int value)
Definition View.h:85
View & WithContent(ContentT &&value)
Definition View.h:98
AWS_CONNECTPARTICIPANT_API View(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition View.h:73
AWS_CONNECTPARTICIPANT_API View & operator=(Aws::Utils::Json::JsonView jsonValue)
const ViewContent & GetContent() const
Definition View.h:93
View & WithArn(ArnT &&value)
Definition View.h:63
View & WithId(IdT &&value)
Definition View.h:51
void SetContent(ContentT &&value)
Definition View.h:96
AWS_CONNECTPARTICIPANT_API View()=default
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue