AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RemoveEntityOwnerRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/DataZoneEntityType.h>
12#include <aws/datazone/model/OwnerProperties.h>
13
14#include <utility>
15
16namespace Aws {
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API RemoveEntityOwnerRequest() = default;
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 "RemoveEntityOwner"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
46 RemoveEntityOwnerRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline DataZoneEntityType GetEntityType() const { return m_entityType; }
57 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
58 inline void SetEntityType(DataZoneEntityType value) {
59 m_entityTypeHasBeenSet = true;
60 m_entityType = value;
61 }
63 SetEntityType(value);
64 return *this;
65 }
67
69
72 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
73 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
74 template <typename EntityIdentifierT = Aws::String>
75 void SetEntityIdentifier(EntityIdentifierT&& value) {
76 m_entityIdentifierHasBeenSet = true;
77 m_entityIdentifier = std::forward<EntityIdentifierT>(value);
78 }
79 template <typename EntityIdentifierT = Aws::String>
80 RemoveEntityOwnerRequest& WithEntityIdentifier(EntityIdentifierT&& value) {
81 SetEntityIdentifier(std::forward<EntityIdentifierT>(value));
82 return *this;
83 }
85
87
90 inline const OwnerProperties& GetOwner() const { return m_owner; }
91 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
92 template <typename OwnerT = OwnerProperties>
93 void SetOwner(OwnerT&& value) {
94 m_ownerHasBeenSet = true;
95 m_owner = std::forward<OwnerT>(value);
96 }
97 template <typename OwnerT = OwnerProperties>
99 SetOwner(std::forward<OwnerT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetClientToken() const { return m_clientToken; }
110 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
111 template <typename ClientTokenT = Aws::String>
112 void SetClientToken(ClientTokenT&& value) {
113 m_clientTokenHasBeenSet = true;
114 m_clientToken = std::forward<ClientTokenT>(value);
115 }
116 template <typename ClientTokenT = Aws::String>
118 SetClientToken(std::forward<ClientTokenT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_domainIdentifier;
124
126
127 Aws::String m_entityIdentifier;
128
129 OwnerProperties m_owner;
130
132 bool m_domainIdentifierHasBeenSet = false;
133 bool m_entityTypeHasBeenSet = false;
134 bool m_entityIdentifierHasBeenSet = false;
135 bool m_ownerHasBeenSet = false;
136 bool m_clientTokenHasBeenSet = true;
137};
138
139} // namespace Model
140} // namespace DataZone
141} // namespace Aws
AWS_DATAZONE_API RemoveEntityOwnerRequest()=default
RemoveEntityOwnerRequest & WithEntityType(DataZoneEntityType value)
RemoveEntityOwnerRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
RemoveEntityOwnerRequest & WithEntityIdentifier(EntityIdentifierT &&value)
RemoveEntityOwnerRequest & WithOwner(OwnerT &&value)
RemoveEntityOwnerRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String