AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveEntityOwnerRequest.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 <aws/datazone/model/DataZoneEntityType.h>
11#include <aws/datazone/model/OwnerProperties.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API RemoveEntityOwnerRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "RemoveEntityOwner"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline RemoveEntityOwnerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline RemoveEntityOwnerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline RemoveEntityOwnerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
57 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
58 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
59 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
60 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
61 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
63 inline RemoveEntityOwnerRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
64 inline RemoveEntityOwnerRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
66
68
71 inline const Aws::String& GetEntityIdentifier() const{ return m_entityIdentifier; }
72 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
73 inline void SetEntityIdentifier(const Aws::String& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = value; }
74 inline void SetEntityIdentifier(Aws::String&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::move(value); }
75 inline void SetEntityIdentifier(const char* value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier.assign(value); }
77 inline RemoveEntityOwnerRequest& WithEntityIdentifier(Aws::String&& value) { SetEntityIdentifier(std::move(value)); return *this;}
78 inline RemoveEntityOwnerRequest& WithEntityIdentifier(const char* value) { SetEntityIdentifier(value); return *this;}
80
82
85 inline const DataZoneEntityType& GetEntityType() const{ return m_entityType; }
86 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
87 inline void SetEntityType(const DataZoneEntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
88 inline void SetEntityType(DataZoneEntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
89 inline RemoveEntityOwnerRequest& WithEntityType(const DataZoneEntityType& value) { SetEntityType(value); return *this;}
90 inline RemoveEntityOwnerRequest& WithEntityType(DataZoneEntityType&& value) { SetEntityType(std::move(value)); return *this;}
92
94
97 inline const OwnerProperties& GetOwner() const{ return m_owner; }
98 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
99 inline void SetOwner(const OwnerProperties& value) { m_ownerHasBeenSet = true; m_owner = value; }
100 inline void SetOwner(OwnerProperties&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
101 inline RemoveEntityOwnerRequest& WithOwner(const OwnerProperties& value) { SetOwner(value); return *this;}
102 inline RemoveEntityOwnerRequest& WithOwner(OwnerProperties&& value) { SetOwner(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_clientToken;
107 bool m_clientTokenHasBeenSet = false;
108
109 Aws::String m_domainIdentifier;
110 bool m_domainIdentifierHasBeenSet = false;
111
112 Aws::String m_entityIdentifier;
113 bool m_entityIdentifierHasBeenSet = false;
114
115 DataZoneEntityType m_entityType;
116 bool m_entityTypeHasBeenSet = false;
117
118 OwnerProperties m_owner;
119 bool m_ownerHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace DataZone
124} // namespace Aws
RemoveEntityOwnerRequest & WithEntityIdentifier(const char *value)
RemoveEntityOwnerRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
RemoveEntityOwnerRequest & WithDomainIdentifier(const char *value)
RemoveEntityOwnerRequest & WithEntityIdentifier(Aws::String &&value)
RemoveEntityOwnerRequest & WithOwner(const OwnerProperties &value)
void SetEntityType(const DataZoneEntityType &value)
RemoveEntityOwnerRequest & WithEntityType(const DataZoneEntityType &value)
RemoveEntityOwnerRequest & WithEntityIdentifier(const Aws::String &value)
RemoveEntityOwnerRequest & WithOwner(OwnerProperties &&value)
RemoveEntityOwnerRequest & WithDomainIdentifier(const Aws::String &value)
RemoveEntityOwnerRequest & WithEntityType(DataZoneEntityType &&value)
RemoveEntityOwnerRequest & WithClientToken(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
RemoveEntityOwnerRequest & WithClientToken(const Aws::String &value)
RemoveEntityOwnerRequest & WithDomainIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String