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>
53 template<
typename TypeNameT = Aws::String>
54 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet =
true; m_typeName = std::forward<TypeNameT>(value); }
55 template<
typename TypeNameT = Aws::String>
65 template<
typename SchemaVersionT = Aws::String>
66 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
67 template<
typename SchemaVersionT = Aws::String>
77 template<
typename CaptureTimeT = Aws::String>
78 void SetCaptureTime(CaptureTimeT&& value) { m_captureTimeHasBeenSet =
true; m_captureTime = std::forward<CaptureTimeT>(value); }
79 template<
typename CaptureTimeT = Aws::String>
92 template<
typename ContentHashT = Aws::String>
93 void SetContentHash(ContentHashT&& value) { m_contentHashHasBeenSet =
true; m_contentHash = std::forward<ContentHashT>(value); }
94 template<
typename ContentHashT = Aws::String>
104 template<
typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
105 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
106 template<
typename ContentT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
108 template<
typename ContentT = Aws::Map<Aws::String, Aws::String>>
109 InventoryItem&
AddContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content.emplace_back(std::forward<ContentT>(value));
return *
this; }
121 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
122 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
123 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
125 template<
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
127 m_contextHasBeenSet =
true; m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
return *
this;
133 bool m_typeNameHasBeenSet =
false;
136 bool m_schemaVersionHasBeenSet =
false;
139 bool m_captureTimeHasBeenSet =
false;
142 bool m_contentHashHasBeenSet =
false;
145 bool m_contentHasBeenSet =
false;
148 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