AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateDomainUnitRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DataZone {
15namespace Model {
16
20 public:
21 AWS_DATAZONE_API UpdateDomainUnitRequest() = 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 "UpdateDomainUnit"; }
28
29 AWS_DATAZONE_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetDescription() const { return m_description; }
36 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
37 template <typename DescriptionT = Aws::String>
38 void SetDescription(DescriptionT&& value) {
39 m_descriptionHasBeenSet = true;
40 m_description = std::forward<DescriptionT>(value);
41 }
42 template <typename DescriptionT = Aws::String>
44 SetDescription(std::forward<DescriptionT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
54 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
55 template <typename DomainIdentifierT = Aws::String>
56 void SetDomainIdentifier(DomainIdentifierT&& value) {
57 m_domainIdentifierHasBeenSet = true;
58 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
59 }
60 template <typename DomainIdentifierT = Aws::String>
61 UpdateDomainUnitRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
62 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetIdentifier() const { return m_identifier; }
72 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
73 template <typename IdentifierT = Aws::String>
74 void SetIdentifier(IdentifierT&& value) {
75 m_identifierHasBeenSet = true;
76 m_identifier = std::forward<IdentifierT>(value);
77 }
78 template <typename IdentifierT = Aws::String>
80 SetIdentifier(std::forward<IdentifierT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetName() const { return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 template <typename NameT = Aws::String>
92 void SetName(NameT&& value) {
93 m_nameHasBeenSet = true;
94 m_name = std::forward<NameT>(value);
95 }
96 template <typename NameT = Aws::String>
98 SetName(std::forward<NameT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::String m_domainIdentifier;
107 bool m_domainIdentifierHasBeenSet = false;
108
109 Aws::String m_identifier;
110 bool m_identifierHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace DataZone
118} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateDomainUnitRequest & WithName(NameT &&value)
AWS_DATAZONE_API UpdateDomainUnitRequest()=default
UpdateDomainUnitRequest & WithDescription(DescriptionT &&value)
UpdateDomainUnitRequest & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateDomainUnitRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String