AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDomainUnitRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_API CreateDomainUnitRequest() = 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 "CreateDomainUnit"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetClientToken() const { return m_clientToken; }
42 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
43 template<typename ClientTokenT = Aws::String>
44 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
45 template<typename ClientTokenT = Aws::String>
46 CreateDomainUnitRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 CreateDomainUnitRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
66 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
67 template<typename DomainIdentifierT = Aws::String>
68 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
69 template<typename DomainIdentifierT = Aws::String>
70 CreateDomainUnitRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(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 CreateDomainUnitRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
84
86
89 inline const Aws::String& GetParentDomainUnitIdentifier() const { return m_parentDomainUnitIdentifier; }
90 inline bool ParentDomainUnitIdentifierHasBeenSet() const { return m_parentDomainUnitIdentifierHasBeenSet; }
91 template<typename ParentDomainUnitIdentifierT = Aws::String>
92 void SetParentDomainUnitIdentifier(ParentDomainUnitIdentifierT&& value) { m_parentDomainUnitIdentifierHasBeenSet = true; m_parentDomainUnitIdentifier = std::forward<ParentDomainUnitIdentifierT>(value); }
93 template<typename ParentDomainUnitIdentifierT = Aws::String>
94 CreateDomainUnitRequest& WithParentDomainUnitIdentifier(ParentDomainUnitIdentifierT&& value) { SetParentDomainUnitIdentifier(std::forward<ParentDomainUnitIdentifierT>(value)); return *this;}
96 private:
97
99 bool m_clientTokenHasBeenSet = true;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::String m_domainIdentifier;
105 bool m_domainIdentifierHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_parentDomainUnitIdentifier;
111 bool m_parentDomainUnitIdentifierHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DataZone
116} // namespace Aws
CreateDomainUnitRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API CreateDomainUnitRequest()=default
void SetParentDomainUnitIdentifier(ParentDomainUnitIdentifierT &&value)
CreateDomainUnitRequest & WithParentDomainUnitIdentifier(ParentDomainUnitIdentifierT &&value)
CreateDomainUnitRequest & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateDomainUnitRequest & WithName(NameT &&value)
CreateDomainUnitRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String