AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
BatchGetAttributeOutput.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/DataZone_EXPORTS.h>
10#include <aws/datazone/model/FormOutput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API BatchGetAttributeOutput() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAttributeIdentifier() const { return m_attributeIdentifier; }
41 inline bool AttributeIdentifierHasBeenSet() const { return m_attributeIdentifierHasBeenSet; }
42 template <typename AttributeIdentifierT = Aws::String>
43 void SetAttributeIdentifier(AttributeIdentifierT&& value) {
44 m_attributeIdentifierHasBeenSet = true;
45 m_attributeIdentifier = std::forward<AttributeIdentifierT>(value);
46 }
47 template <typename AttributeIdentifierT = Aws::String>
48 BatchGetAttributeOutput& WithAttributeIdentifier(AttributeIdentifierT&& value) {
49 SetAttributeIdentifier(std::forward<AttributeIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Vector<FormOutput>& GetForms() const { return m_forms; }
60 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
61 template <typename FormsT = Aws::Vector<FormOutput>>
62 void SetForms(FormsT&& value) {
63 m_formsHasBeenSet = true;
64 m_forms = std::forward<FormsT>(value);
65 }
66 template <typename FormsT = Aws::Vector<FormOutput>>
68 SetForms(std::forward<FormsT>(value));
69 return *this;
70 }
71 template <typename FormsT = FormOutput>
73 m_formsHasBeenSet = true;
74 m_forms.emplace_back(std::forward<FormsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_attributeIdentifier;
80
82 bool m_attributeIdentifierHasBeenSet = false;
83 bool m_formsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace DataZone
88} // namespace Aws
BatchGetAttributeOutput & AddForms(FormsT &&value)
BatchGetAttributeOutput & WithForms(FormsT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API BatchGetAttributeOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API BatchGetAttributeOutput(Aws::Utils::Json::JsonView jsonValue)
BatchGetAttributeOutput & WithAttributeIdentifier(AttributeIdentifierT &&value)
const Aws::Vector< FormOutput > & GetForms() const
AWS_DATAZONE_API BatchGetAttributeOutput()=default
void SetAttributeIdentifier(AttributeIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue