7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
47 template <
typename TypeNameT = Aws::String>
49 m_typeNameHasBeenSet =
true;
50 m_typeName = std::forward<TypeNameT>(value);
52 template <
typename TypeNameT = Aws::String>
65 template <
typename SchemaVersionT = Aws::String>
67 m_schemaVersionHasBeenSet =
true;
68 m_schemaVersion = std::forward<SchemaVersionT>(value);
70 template <
typename SchemaVersionT = Aws::String>
83 template <
typename CaptureTimeT = Aws::String>
85 m_captureTimeHasBeenSet =
true;
86 m_captureTime = std::forward<CaptureTimeT>(value);
88 template <
typename CaptureTimeT = Aws::String>
104 template <
typename ContentHashT = Aws::String>
106 m_contentHashHasBeenSet =
true;
107 m_contentHash = std::forward<ContentHashT>(value);
109 template <
typename ContentHashT = Aws::String>
122 template <
typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
124 m_contentHasBeenSet =
true;
125 m_content = std::forward<ContentT>(value);
127 template <
typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
132 template <
typename ContentT = Aws::Map<Aws::String, Aws::String>>
134 m_contentHasBeenSet =
true;
135 m_content.emplace_back(std::forward<ContentT>(value));
149 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
151 m_contextHasBeenSet =
true;
152 m_context = std::forward<ContextT>(value);
154 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
159 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
161 m_contextHasBeenSet =
true;
162 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
178 bool m_typeNameHasBeenSet =
false;
179 bool m_schemaVersionHasBeenSet =
false;
180 bool m_captureTimeHasBeenSet =
false;
181 bool m_contentHashHasBeenSet =
false;
182 bool m_contentHasBeenSet =
false;
183 bool m_contextHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetContext() const
InventoryItem & AddContext(ContextKeyT &&key, ContextValueT &&value)
InventoryItem & AddContent(ContentT &&value)
void SetContentHash(ContentHashT &&value)
const Aws::String & GetCaptureTime() const
AWS_SSM_API InventoryItem(Aws::Utils::Json::JsonView jsonValue)
bool ContentHashHasBeenSet() const
void SetContext(ContextT &&value)
bool TypeNameHasBeenSet() const
const Aws::String & GetTypeName() const
InventoryItem & WithContent(ContentT &&value)
void SetContent(ContentT &&value)
void SetTypeName(TypeNameT &&value)
const Aws::String & GetSchemaVersion() const
InventoryItem & WithSchemaVersion(SchemaVersionT &&value)
void SetCaptureTime(CaptureTimeT &&value)
InventoryItem & WithContentHash(ContentHashT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetContent() const
AWS_SSM_API InventoryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryItem & WithContext(ContextT &&value)
InventoryItem & WithCaptureTime(CaptureTimeT &&value)
bool CaptureTimeHasBeenSet() const
bool SchemaVersionHasBeenSet() const
void SetSchemaVersion(SchemaVersionT &&value)
const Aws::String & GetContentHash() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryItem & WithTypeName(TypeNameT &&value)
bool ContextHasBeenSet() const
bool ContentHasBeenSet() const
AWS_SSM_API InventoryItem()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue