AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GlossaryItemAdditionalAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/MatchRationaleItem.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 GlossaryItemAdditionalAttributes() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<MatchRationaleItem>& GetMatchRationale() const { return m_matchRationale; }
41 inline bool MatchRationaleHasBeenSet() const { return m_matchRationaleHasBeenSet; }
42 template <typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
43 void SetMatchRationale(MatchRationaleT&& value) {
44 m_matchRationaleHasBeenSet = true;
45 m_matchRationale = std::forward<MatchRationaleT>(value);
46 }
47 template <typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
49 SetMatchRationale(std::forward<MatchRationaleT>(value));
50 return *this;
51 }
52 template <typename MatchRationaleT = MatchRationaleItem>
54 m_matchRationaleHasBeenSet = true;
55 m_matchRationale.emplace_back(std::forward<MatchRationaleT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<MatchRationaleItem> m_matchRationale;
61 bool m_matchRationaleHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace DataZone
66} // namespace Aws
GlossaryItemAdditionalAttributes & AddMatchRationale(MatchRationaleT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API GlossaryItemAdditionalAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MatchRationaleItem > & GetMatchRationale() const
AWS_DATAZONE_API GlossaryItemAdditionalAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API GlossaryItemAdditionalAttributes()=default
GlossaryItemAdditionalAttributes & WithMatchRationale(MatchRationaleT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue