AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InventoryResultItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSM_API InventoryResultItem() = default;
40
41
43
46 inline const Aws::String& GetTypeName() const { return m_typeName; }
47 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
48 template<typename TypeNameT = Aws::String>
49 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
50 template<typename TypeNameT = Aws::String>
51 InventoryResultItem& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
59 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
60 template<typename SchemaVersionT = Aws::String>
61 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
62 template<typename SchemaVersionT = Aws::String>
63 InventoryResultItem& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetCaptureTime() const { return m_captureTime; }
71 inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; }
72 template<typename CaptureTimeT = Aws::String>
73 void SetCaptureTime(CaptureTimeT&& value) { m_captureTimeHasBeenSet = true; m_captureTime = std::forward<CaptureTimeT>(value); }
74 template<typename CaptureTimeT = Aws::String>
75 InventoryResultItem& WithCaptureTime(CaptureTimeT&& value) { SetCaptureTime(std::forward<CaptureTimeT>(value)); return *this;}
77
79
85 inline const Aws::String& GetContentHash() const { return m_contentHash; }
86 inline bool ContentHashHasBeenSet() const { return m_contentHashHasBeenSet; }
87 template<typename ContentHashT = Aws::String>
88 void SetContentHash(ContentHashT&& value) { m_contentHashHasBeenSet = true; m_contentHash = std::forward<ContentHashT>(value); }
89 template<typename ContentHashT = Aws::String>
90 InventoryResultItem& WithContentHash(ContentHashT&& value) { SetContentHash(std::forward<ContentHashT>(value)); return *this;}
92
94
98 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetContent() const { return m_content; }
99 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
100 template<typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
101 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
102 template<typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
103 InventoryResultItem& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
104 template<typename ContentT = Aws::Map<Aws::String, Aws::String>>
105 InventoryResultItem& AddContent(ContentT&& value) { m_contentHasBeenSet = true; m_content.emplace_back(std::forward<ContentT>(value)); return *this; }
107 private:
108
109 Aws::String m_typeName;
110 bool m_typeNameHasBeenSet = false;
111
112 Aws::String m_schemaVersion;
113 bool m_schemaVersionHasBeenSet = false;
114
115 Aws::String m_captureTime;
116 bool m_captureTimeHasBeenSet = false;
117
118 Aws::String m_contentHash;
119 bool m_contentHashHasBeenSet = false;
120
122 bool m_contentHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SSM
127} // namespace Aws
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetContent() const
InventoryResultItem & AddContent(ContentT &&value)
InventoryResultItem & WithTypeName(TypeNameT &&value)
const Aws::String & GetSchemaVersion() const
AWS_SSM_API InventoryResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryResultItem & WithContent(ContentT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCaptureTime(CaptureTimeT &&value)
InventoryResultItem & WithContentHash(ContentHashT &&value)
InventoryResultItem & WithSchemaVersion(SchemaVersionT &&value)
const Aws::String & GetTypeName() const
void SetContentHash(ContentHashT &&value)
const Aws::String & GetContentHash() const
AWS_SSM_API InventoryResultItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCaptureTime() const
void SetSchemaVersion(SchemaVersionT &&value)
InventoryResultItem & WithCaptureTime(CaptureTimeT &&value)
AWS_SSM_API InventoryResultItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue