AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateLayoutRequest.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 CreateLayoutRequest() = 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 "CreateLayout"; }
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 CreateLayoutRequest& 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 CreateLayoutRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 CreateLayoutRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72 private:
73
74 LayoutContent m_content;
75 bool m_contentHasBeenSet = false;
76
77 Aws::String m_domainId;
78 bool m_domainIdHasBeenSet = false;
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ConnectCases
86} // namespace Aws
CreateLayoutRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CONNECTCASES_API CreateLayoutRequest()=default
CreateLayoutRequest & WithContent(ContentT &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
CreateLayoutRequest & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String