AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
BatchPutAttributesMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/AttributeEntityType.h>
13#include <aws/datazone/model/AttributeInput.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API BatchPutAttributesMetadataRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchPutAttributesMetadata"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
40 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
41 template <typename DomainIdentifierT = Aws::String>
42 void SetDomainIdentifier(DomainIdentifierT&& value) {
43 m_domainIdentifierHasBeenSet = true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
45 }
46 template <typename DomainIdentifierT = Aws::String>
48 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline AttributeEntityType GetEntityType() const { return m_entityType; }
58 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
60 m_entityTypeHasBeenSet = true;
61 m_entityType = value;
62 }
64 SetEntityType(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
74 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
75 template <typename EntityIdentifierT = Aws::String>
76 void SetEntityIdentifier(EntityIdentifierT&& value) {
77 m_entityIdentifierHasBeenSet = true;
78 m_entityIdentifier = std::forward<EntityIdentifierT>(value);
79 }
80 template <typename EntityIdentifierT = Aws::String>
82 SetEntityIdentifier(std::forward<EntityIdentifierT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetClientToken() const { return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 template <typename ClientTokenT = Aws::String>
95 void SetClientToken(ClientTokenT&& value) {
96 m_clientTokenHasBeenSet = true;
97 m_clientToken = std::forward<ClientTokenT>(value);
98 }
99 template <typename ClientTokenT = Aws::String>
101 SetClientToken(std::forward<ClientTokenT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Vector<AttributeInput>& GetAttributes() const { return m_attributes; }
111 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
112 template <typename AttributesT = Aws::Vector<AttributeInput>>
113 void SetAttributes(AttributesT&& value) {
114 m_attributesHasBeenSet = true;
115 m_attributes = std::forward<AttributesT>(value);
116 }
117 template <typename AttributesT = Aws::Vector<AttributeInput>>
119 SetAttributes(std::forward<AttributesT>(value));
120 return *this;
121 }
122 template <typename AttributesT = AttributeInput>
124 m_attributesHasBeenSet = true;
125 m_attributes.emplace_back(std::forward<AttributesT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_domainIdentifier;
131
133
134 Aws::String m_entityIdentifier;
135
137
138 Aws::Vector<AttributeInput> m_attributes;
139 bool m_domainIdentifierHasBeenSet = false;
140 bool m_entityTypeHasBeenSet = false;
141 bool m_entityIdentifierHasBeenSet = false;
142 bool m_clientTokenHasBeenSet = true;
143 bool m_attributesHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace DataZone
148} // namespace Aws
BatchPutAttributesMetadataRequest & WithDomainIdentifier(DomainIdentifierT &&value)
BatchPutAttributesMetadataRequest & WithClientToken(ClientTokenT &&value)
BatchPutAttributesMetadataRequest & AddAttributes(AttributesT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API BatchPutAttributesMetadataRequest()=default
BatchPutAttributesMetadataRequest & WithEntityType(AttributeEntityType value)
BatchPutAttributesMetadataRequest & WithAttributes(AttributesT &&value)
BatchPutAttributesMetadataRequest & WithEntityIdentifier(EntityIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector