AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
AdditionalAttributes.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API AdditionalAttributes() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetFormNames() const { return m_formNames; }
41 inline bool FormNamesHasBeenSet() const { return m_formNamesHasBeenSet; }
42 template <typename FormNamesT = Aws::Vector<Aws::String>>
43 void SetFormNames(FormNamesT&& value) {
44 m_formNamesHasBeenSet = true;
45 m_formNames = std::forward<FormNamesT>(value);
46 }
47 template <typename FormNamesT = Aws::Vector<Aws::String>>
48 AdditionalAttributes& WithFormNames(FormNamesT&& value) {
49 SetFormNames(std::forward<FormNamesT>(value));
50 return *this;
51 }
52 template <typename FormNamesT = Aws::String>
53 AdditionalAttributes& AddFormNames(FormNamesT&& value) {
54 m_formNamesHasBeenSet = true;
55 m_formNames.emplace_back(std::forward<FormNamesT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Aws::String> m_formNames;
61 bool m_formNamesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace DataZone
66} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API AdditionalAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API AdditionalAttributes(Aws::Utils::Json::JsonView jsonValue)
AdditionalAttributes & AddFormNames(FormNamesT &&value)
AdditionalAttributes & WithFormNames(FormNamesT &&value)
const Aws::Vector< Aws::String > & GetFormNames() const
AWS_DATAZONE_API AdditionalAttributes()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue