AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLayoutRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/ConnectCasesRequest.h>
9#include <aws/connectcases/model/LayoutContent.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectCases
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECTCASES_API UpdateLayoutRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateLayout"; }
32
33 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
34
35
37
41 inline const LayoutContent& GetContent() const { return m_content; }
42 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
43 template<typename ContentT = LayoutContent>
44 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
45 template<typename ContentT = LayoutContent>
46 UpdateLayoutRequest& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDomainId() const { return m_domainId; }
54 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
55 template<typename DomainIdT = Aws::String>
56 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
57 template<typename DomainIdT = Aws::String>
58 UpdateLayoutRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetLayoutId() const { return m_layoutId; }
66 inline bool LayoutIdHasBeenSet() const { return m_layoutIdHasBeenSet; }
67 template<typename LayoutIdT = Aws::String>
68 void SetLayoutId(LayoutIdT&& value) { m_layoutIdHasBeenSet = true; m_layoutId = std::forward<LayoutIdT>(value); }
69 template<typename LayoutIdT = Aws::String>
70 UpdateLayoutRequest& WithLayoutId(LayoutIdT&& value) { SetLayoutId(std::forward<LayoutIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template<typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
81 template<typename NameT = Aws::String>
82 UpdateLayoutRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
84 private:
85
86 LayoutContent m_content;
87 bool m_contentHasBeenSet = false;
88
89 Aws::String m_domainId;
90 bool m_domainIdHasBeenSet = false;
91
92 Aws::String m_layoutId;
93 bool m_layoutIdHasBeenSet = false;
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace ConnectCases
101} // 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