AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateLayoutRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/LayoutContent.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectCases {
16namespace Model {
17
21 public:
22 AWS_CONNECTCASES_API UpdateLayoutRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLayout"; }
29
30 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainId() const { return m_domainId; }
37 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
44 UpdateLayoutRequest& WithDomainId(DomainIdT&& value) {
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLayoutId() const { return m_layoutId; }
55 inline bool LayoutIdHasBeenSet() const { return m_layoutIdHasBeenSet; }
56 template <typename LayoutIdT = Aws::String>
57 void SetLayoutId(LayoutIdT&& value) {
58 m_layoutIdHasBeenSet = true;
59 m_layoutId = std::forward<LayoutIdT>(value);
60 }
61 template <typename LayoutIdT = Aws::String>
62 UpdateLayoutRequest& WithLayoutId(LayoutIdT&& value) {
63 SetLayoutId(std::forward<LayoutIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
80 UpdateLayoutRequest& WithName(NameT&& value) {
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
91 inline const LayoutContent& GetContent() const { return m_content; }
92 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
93 template <typename ContentT = LayoutContent>
94 void SetContent(ContentT&& value) {
95 m_contentHasBeenSet = true;
96 m_content = std::forward<ContentT>(value);
97 }
98 template <typename ContentT = LayoutContent>
99 UpdateLayoutRequest& WithContent(ContentT&& value) {
100 SetContent(std::forward<ContentT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_domainId;
106
107 Aws::String m_layoutId;
108
109 Aws::String m_name;
110
111 LayoutContent m_content;
112 bool m_domainIdHasBeenSet = false;
113 bool m_layoutIdHasBeenSet = false;
114 bool m_nameHasBeenSet = false;
115 bool m_contentHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace ConnectCases
120} // namespace Aws
UpdateLayoutRequest & WithName(NameT &&value)
UpdateLayoutRequest & WithContent(ContentT &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
UpdateLayoutRequest & WithDomainId(DomainIdT &&value)
AWS_CONNECTCASES_API UpdateLayoutRequest()=default
UpdateLayoutRequest & WithLayoutId(LayoutIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String