AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContent(const LayoutContent& value) { m_contentHasBeenSet = true; m_content = value; }
44 inline void SetContent(LayoutContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
45 inline UpdateLayoutRequest& WithContent(const LayoutContent& value) { SetContent(value); return *this;}
46 inline UpdateLayoutRequest& WithContent(LayoutContent&& value) { SetContent(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetDomainId() const{ return m_domainId; }
54 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
55 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
56 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
57 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
58 inline UpdateLayoutRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
59 inline UpdateLayoutRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
60 inline UpdateLayoutRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
62
64
67 inline const Aws::String& GetLayoutId() const{ return m_layoutId; }
68 inline bool LayoutIdHasBeenSet() const { return m_layoutIdHasBeenSet; }
69 inline void SetLayoutId(const Aws::String& value) { m_layoutIdHasBeenSet = true; m_layoutId = value; }
70 inline void SetLayoutId(Aws::String&& value) { m_layoutIdHasBeenSet = true; m_layoutId = std::move(value); }
71 inline void SetLayoutId(const char* value) { m_layoutIdHasBeenSet = true; m_layoutId.assign(value); }
72 inline UpdateLayoutRequest& WithLayoutId(const Aws::String& value) { SetLayoutId(value); return *this;}
73 inline UpdateLayoutRequest& WithLayoutId(Aws::String&& value) { SetLayoutId(std::move(value)); return *this;}
74 inline UpdateLayoutRequest& WithLayoutId(const char* value) { SetLayoutId(value); return *this;}
76
78
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline UpdateLayoutRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline UpdateLayoutRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline UpdateLayoutRequest& WithName(const char* value) { SetName(value); return *this;}
90 private:
91
92 LayoutContent m_content;
93 bool m_contentHasBeenSet = false;
94
95 Aws::String m_domainId;
96 bool m_domainIdHasBeenSet = false;
97
98 Aws::String m_layoutId;
99 bool m_layoutIdHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ConnectCases
107} // namespace Aws
UpdateLayoutRequest & WithName(const char *value)
UpdateLayoutRequest & WithLayoutId(Aws::String &&value)
UpdateLayoutRequest & WithLayoutId(const char *value)
UpdateLayoutRequest & WithDomainId(const char *value)
UpdateLayoutRequest & WithDomainId(Aws::String &&value)
void SetContent(const LayoutContent &value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
UpdateLayoutRequest & WithDomainId(const Aws::String &value)
UpdateLayoutRequest & WithContent(const LayoutContent &value)
UpdateLayoutRequest & WithName(const Aws::String &value)
UpdateLayoutRequest & WithContent(LayoutContent &&value)
virtual const char * GetServiceRequestName() const override
UpdateLayoutRequest & WithLayoutId(const Aws::String &value)
UpdateLayoutRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String