AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BatchGetAttributesMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/AttributeEntityType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace DataZone {
20namespace Model {
21
25 public:
26 AWS_DATAZONE_API BatchGetAttributesMetadataRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchGetAttributesMetadata"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
43 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
44 template <typename DomainIdentifierT = Aws::String>
45 void SetDomainIdentifier(DomainIdentifierT&& value) {
46 m_domainIdentifierHasBeenSet = true;
47 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
48 }
49 template <typename DomainIdentifierT = Aws::String>
51 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
52 return *this;
53 }
55
57
60 inline AttributeEntityType GetEntityType() const { return m_entityType; }
61 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
63 m_entityTypeHasBeenSet = true;
64 m_entityType = value;
65 }
67 SetEntityType(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
77 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
78 template <typename EntityIdentifierT = Aws::String>
79 void SetEntityIdentifier(EntityIdentifierT&& value) {
80 m_entityIdentifierHasBeenSet = true;
81 m_entityIdentifier = std::forward<EntityIdentifierT>(value);
82 }
83 template <typename EntityIdentifierT = Aws::String>
85 SetEntityIdentifier(std::forward<EntityIdentifierT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetEntityRevision() const { return m_entityRevision; }
95 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
96 template <typename EntityRevisionT = Aws::String>
97 void SetEntityRevision(EntityRevisionT&& value) {
98 m_entityRevisionHasBeenSet = true;
99 m_entityRevision = std::forward<EntityRevisionT>(value);
100 }
101 template <typename EntityRevisionT = Aws::String>
103 SetEntityRevision(std::forward<EntityRevisionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Vector<Aws::String>& GetAttributeIdentifiers() const { return m_attributeIdentifiers; }
113 inline bool AttributeIdentifiersHasBeenSet() const { return m_attributeIdentifiersHasBeenSet; }
114 template <typename AttributeIdentifiersT = Aws::Vector<Aws::String>>
115 void SetAttributeIdentifiers(AttributeIdentifiersT&& value) {
116 m_attributeIdentifiersHasBeenSet = true;
117 m_attributeIdentifiers = std::forward<AttributeIdentifiersT>(value);
118 }
119 template <typename AttributeIdentifiersT = Aws::Vector<Aws::String>>
121 SetAttributeIdentifiers(std::forward<AttributeIdentifiersT>(value));
122 return *this;
123 }
124 template <typename AttributeIdentifiersT = Aws::String>
126 m_attributeIdentifiersHasBeenSet = true;
127 m_attributeIdentifiers.emplace_back(std::forward<AttributeIdentifiersT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_domainIdentifier;
133
135
136 Aws::String m_entityIdentifier;
137
138 Aws::String m_entityRevision;
139
140 Aws::Vector<Aws::String> m_attributeIdentifiers;
141 bool m_domainIdentifierHasBeenSet = false;
142 bool m_entityTypeHasBeenSet = false;
143 bool m_entityIdentifierHasBeenSet = false;
144 bool m_entityRevisionHasBeenSet = false;
145 bool m_attributeIdentifiersHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace DataZone
150} // namespace Aws
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
BatchGetAttributesMetadataRequest & WithAttributeIdentifiers(AttributeIdentifiersT &&value)
AWS_DATAZONE_API BatchGetAttributesMetadataRequest()=default
BatchGetAttributesMetadataRequest & WithEntityIdentifier(EntityIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
BatchGetAttributesMetadataRequest & WithEntityRevision(EntityRevisionT &&value)
BatchGetAttributesMetadataRequest & WithEntityType(AttributeEntityType value)
BatchGetAttributesMetadataRequest & WithDomainIdentifier(DomainIdentifierT &&value)
BatchGetAttributesMetadataRequest & AddAttributeIdentifiers(AttributeIdentifiersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector