AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetDomainLayoutRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CustomerProfiles {
15namespace Model {
16
20 public:
21 AWS_CUSTOMERPROFILES_API GetDomainLayoutRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetDomainLayout"; }
28
29 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetDomainName() const { return m_domainName; }
36 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
37 template <typename DomainNameT = Aws::String>
38 void SetDomainName(DomainNameT&& value) {
39 m_domainNameHasBeenSet = true;
40 m_domainName = std::forward<DomainNameT>(value);
41 }
42 template <typename DomainNameT = Aws::String>
43 GetDomainLayoutRequest& WithDomainName(DomainNameT&& value) {
44 SetDomainName(std::forward<DomainNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
54 inline bool LayoutDefinitionNameHasBeenSet() const { return m_layoutDefinitionNameHasBeenSet; }
55 template <typename LayoutDefinitionNameT = Aws::String>
56 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) {
57 m_layoutDefinitionNameHasBeenSet = true;
58 m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value);
59 }
60 template <typename LayoutDefinitionNameT = Aws::String>
61 GetDomainLayoutRequest& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) {
62 SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_domainName;
68
69 Aws::String m_layoutDefinitionName;
70 bool m_domainNameHasBeenSet = false;
71 bool m_layoutDefinitionNameHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace CustomerProfiles
76} // namespace Aws
GetDomainLayoutRequest & WithDomainName(DomainNameT &&value)
GetDomainLayoutRequest & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
void SetLayoutDefinitionName(LayoutDefinitionNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CUSTOMERPROFILES_API GetDomainLayoutRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String