AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 CreateLayoutRequest& WithContent(const LayoutContent& value) { SetContent(value); return *this;}
46 inline CreateLayoutRequest& 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 CreateLayoutRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
59 inline CreateLayoutRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
60 inline CreateLayoutRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline CreateLayoutRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline CreateLayoutRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline CreateLayoutRequest& WithName(const char* value) { SetName(value); return *this;}
76 private:
77
78 LayoutContent m_content;
79 bool m_contentHasBeenSet = false;
80
81 Aws::String m_domainId;
82 bool m_domainIdHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ConnectCases
90} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetContent(const LayoutContent &value)
CreateLayoutRequest & WithName(Aws::String &&value)
CreateLayoutRequest & WithDomainId(Aws::String &&value)
CreateLayoutRequest & WithName(const Aws::String &value)
CreateLayoutRequest & WithContent(const LayoutContent &value)
CreateLayoutRequest & WithContent(LayoutContent &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
CreateLayoutRequest & WithDomainId(const Aws::String &value)
CreateLayoutRequest & WithName(const char *value)
CreateLayoutRequest & WithDomainId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String