AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainUnitRequest.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
12namespace Aws
13{
14namespace DataZone
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DATAZONE_API UpdateDomainUnitRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainUnit"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDescription() const{ return m_description; }
40 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
41 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
42 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
43 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
44 inline UpdateDomainUnitRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
45 inline UpdateDomainUnitRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
46 inline UpdateDomainUnitRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
48
50
53 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
54 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
55 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
56 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
57 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
58 inline UpdateDomainUnitRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
59 inline UpdateDomainUnitRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
60 inline UpdateDomainUnitRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
62
64
67 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
68 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
69 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
70 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
71 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
72 inline UpdateDomainUnitRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
73 inline UpdateDomainUnitRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
74 inline UpdateDomainUnitRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
76
78
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline UpdateDomainUnitRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline UpdateDomainUnitRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline UpdateDomainUnitRequest& WithName(const char* value) { SetName(value); return *this;}
90 private:
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 Aws::String m_domainIdentifier;
96 bool m_domainIdentifierHasBeenSet = false;
97
98 Aws::String m_identifier;
99 bool m_identifierHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace DataZone
107} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateDomainUnitRequest & WithName(const Aws::String &value)
UpdateDomainUnitRequest & WithIdentifier(const char *value)
UpdateDomainUnitRequest & WithDescription(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateDomainUnitRequest & WithDomainIdentifier(const Aws::String &value)
UpdateDomainUnitRequest & WithDescription(Aws::String &&value)
UpdateDomainUnitRequest & WithDescription(const Aws::String &value)
UpdateDomainUnitRequest & WithDomainIdentifier(const char *value)
UpdateDomainUnitRequest & WithName(const char *value)
UpdateDomainUnitRequest & WithIdentifier(Aws::String &&value)
UpdateDomainUnitRequest & WithDomainIdentifier(Aws::String &&value)
UpdateDomainUnitRequest & WithName(Aws::String &&value)
UpdateDomainUnitRequest & WithIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String