AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GlossaryItemAdditionalAttributes.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/model/MatchRationaleItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API GlossaryItemAdditionalAttributes() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<MatchRationaleItem>& GetMatchRationale() const { return m_matchRationale; }
47 inline bool MatchRationaleHasBeenSet() const { return m_matchRationaleHasBeenSet; }
48 template<typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
49 void SetMatchRationale(MatchRationaleT&& value) { m_matchRationaleHasBeenSet = true; m_matchRationale = std::forward<MatchRationaleT>(value); }
50 template<typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
51 GlossaryItemAdditionalAttributes& WithMatchRationale(MatchRationaleT&& value) { SetMatchRationale(std::forward<MatchRationaleT>(value)); return *this;}
52 template<typename MatchRationaleT = MatchRationaleItem>
53 GlossaryItemAdditionalAttributes& AddMatchRationale(MatchRationaleT&& value) { m_matchRationaleHasBeenSet = true; m_matchRationale.emplace_back(std::forward<MatchRationaleT>(value)); return *this; }
55 private:
56
57 Aws::Vector<MatchRationaleItem> m_matchRationale;
58 bool m_matchRationaleHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace DataZone
63} // 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