AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
44 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
45 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
46 inline CreateDomainUnitRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
47 inline CreateDomainUnitRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
48 inline CreateDomainUnitRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline CreateDomainUnitRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline CreateDomainUnitRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline CreateDomainUnitRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
70 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
71 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
72 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
73 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
74 inline CreateDomainUnitRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
75 inline CreateDomainUnitRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
76 inline CreateDomainUnitRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
78
80
83 inline const Aws::String& GetName() const{ return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
86 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
87 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
88 inline CreateDomainUnitRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
89 inline CreateDomainUnitRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
90 inline CreateDomainUnitRequest& WithName(const char* value) { SetName(value); return *this;}
92
94
97 inline const Aws::String& GetParentDomainUnitIdentifier() const{ return m_parentDomainUnitIdentifier; }
98 inline bool ParentDomainUnitIdentifierHasBeenSet() const { return m_parentDomainUnitIdentifierHasBeenSet; }
99 inline void SetParentDomainUnitIdentifier(const Aws::String& value) { m_parentDomainUnitIdentifierHasBeenSet = true; m_parentDomainUnitIdentifier = value; }
100 inline void SetParentDomainUnitIdentifier(Aws::String&& value) { m_parentDomainUnitIdentifierHasBeenSet = true; m_parentDomainUnitIdentifier = std::move(value); }
101 inline void SetParentDomainUnitIdentifier(const char* value) { m_parentDomainUnitIdentifierHasBeenSet = true; m_parentDomainUnitIdentifier.assign(value); }
106 private:
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::String m_domainIdentifier;
115 bool m_domainIdentifierHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_parentDomainUnitIdentifier;
121 bool m_parentDomainUnitIdentifierHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace DataZone
126} // namespace Aws
CreateDomainUnitRequest & WithClientToken(Aws::String &&value)
CreateDomainUnitRequest & WithDomainIdentifier(const char *value)
CreateDomainUnitRequest & WithDomainIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateDomainUnitRequest & WithDomainIdentifier(const Aws::String &value)
CreateDomainUnitRequest & WithName(const char *value)
CreateDomainUnitRequest & WithParentDomainUnitIdentifier(Aws::String &&value)
void SetParentDomainUnitIdentifier(const Aws::String &value)
CreateDomainUnitRequest & WithName(const Aws::String &value)
CreateDomainUnitRequest & WithParentDomainUnitIdentifier(const Aws::String &value)
CreateDomainUnitRequest & WithDescription(const Aws::String &value)
CreateDomainUnitRequest & WithParentDomainUnitIdentifier(const char *value)
CreateDomainUnitRequest & WithDescription(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateDomainUnitRequest & WithName(Aws::String &&value)
CreateDomainUnitRequest & WithClientToken(const char *value)
CreateDomainUnitRequest & WithClientToken(const Aws::String &value)
CreateDomainUnitRequest & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String