AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AddEntityOwnerRequest.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 AddEntityOwnerRequest() = default;
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 "AddEntityOwner"; }
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 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 AddEntityOwnerRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
56 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
57 template<typename DomainIdentifierT = Aws::String>
58 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
59 template<typename DomainIdentifierT = Aws::String>
60 AddEntityOwnerRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
62
64
67 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
68 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
69 template<typename EntityIdentifierT = Aws::String>
70 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
71 template<typename EntityIdentifierT = Aws::String>
72 AddEntityOwnerRequest& WithEntityIdentifier(EntityIdentifierT&& value) { SetEntityIdentifier(std::forward<EntityIdentifierT>(value)); return *this;}
74
76
79 inline DataZoneEntityType GetEntityType() const { return m_entityType; }
80 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
81 inline void SetEntityType(DataZoneEntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
84
86
89 inline const OwnerProperties& GetOwner() const { return m_owner; }
90 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
91 template<typename OwnerT = OwnerProperties>
92 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
93 template<typename OwnerT = OwnerProperties>
94 AddEntityOwnerRequest& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
96 private:
97
99 bool m_clientTokenHasBeenSet = true;
100
101 Aws::String m_domainIdentifier;
102 bool m_domainIdentifierHasBeenSet = false;
103
104 Aws::String m_entityIdentifier;
105 bool m_entityIdentifierHasBeenSet = false;
106
108 bool m_entityTypeHasBeenSet = false;
109
110 OwnerProperties m_owner;
111 bool m_ownerHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DataZone
116} // namespace Aws
AddEntityOwnerRequest & WithEntityType(DataZoneEntityType value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AddEntityOwnerRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
AddEntityOwnerRequest & WithEntityIdentifier(EntityIdentifierT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetEntityIdentifier(EntityIdentifierT &&value)
AWS_DATAZONE_API AddEntityOwnerRequest()=default
AddEntityOwnerRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AddEntityOwnerRequest & WithOwner(OwnerT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String