AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompositionDetails.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotsitewise/model/CompositionRelationshipItem.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 IoTSiteWise
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_IOTSITEWISE_API CompositionDetails();
39 AWS_IOTSITEWISE_API CompositionDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<CompositionRelationshipItem>& GetCompositionRelationship() const{ return m_compositionRelationship; }
49 inline bool CompositionRelationshipHasBeenSet() const { return m_compositionRelationshipHasBeenSet; }
50 inline void SetCompositionRelationship(const Aws::Vector<CompositionRelationshipItem>& value) { m_compositionRelationshipHasBeenSet = true; m_compositionRelationship = value; }
51 inline void SetCompositionRelationship(Aws::Vector<CompositionRelationshipItem>&& value) { m_compositionRelationshipHasBeenSet = true; m_compositionRelationship = std::move(value); }
54 inline CompositionDetails& AddCompositionRelationship(const CompositionRelationshipItem& value) { m_compositionRelationshipHasBeenSet = true; m_compositionRelationship.push_back(value); return *this; }
55 inline CompositionDetails& AddCompositionRelationship(CompositionRelationshipItem&& value) { m_compositionRelationshipHasBeenSet = true; m_compositionRelationship.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<CompositionRelationshipItem> m_compositionRelationship;
60 bool m_compositionRelationshipHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace IoTSiteWise
65} // namespace Aws
AWS_IOTSITEWISE_API CompositionDetails(Aws::Utils::Json::JsonView jsonValue)
CompositionDetails & AddCompositionRelationship(CompositionRelationshipItem &&value)
void SetCompositionRelationship(const Aws::Vector< CompositionRelationshipItem > &value)
void SetCompositionRelationship(Aws::Vector< CompositionRelationshipItem > &&value)
CompositionDetails & WithCompositionRelationship(const Aws::Vector< CompositionRelationshipItem > &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
CompositionDetails & AddCompositionRelationship(const CompositionRelationshipItem &value)
const Aws::Vector< CompositionRelationshipItem > & GetCompositionRelationship() const
CompositionDetails & WithCompositionRelationship(Aws::Vector< CompositionRelationshipItem > &&value)
AWS_IOTSITEWISE_API CompositionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue