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>
55 inline void SetTypeName(
const char* value) { m_typeNameHasBeenSet =
true; m_typeName.assign(value); }
69 inline void SetSchemaVersion(
const char* value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion.assign(value); }
83 inline void SetCaptureTime(
const char* value) { m_captureTimeHasBeenSet =
true; m_captureTime.assign(value); }
100 inline void SetContentHash(
const char* value) { m_contentHashHasBeenSet =
true; m_contentHash.assign(value); }
139 inline InventoryItem&
AddContext(
const char* key,
const char* value) { m_contextHasBeenSet =
true; m_context.emplace(key, value);
return *
this; }
144 bool m_typeNameHasBeenSet =
false;
147 bool m_schemaVersionHasBeenSet =
false;
150 bool m_captureTimeHasBeenSet =
false;
153 bool m_contentHashHasBeenSet =
false;
156 bool m_contentHasBeenSet =
false;
159 bool m_contextHasBeenSet =
false;
void SetContext(const Aws::Map< Aws::String, Aws::String > &value)
InventoryItem & WithContent(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
void SetContentHash(const char *value)
InventoryItem & AddContext(const char *key, Aws::String &&value)
InventoryItem & WithSchemaVersion(const char *value)
InventoryItem & AddContext(Aws::String &&key, const Aws::String &value)
const Aws::String & GetCaptureTime() const
AWS_SSM_API InventoryItem(Aws::Utils::Json::JsonView jsonValue)
InventoryItem & WithSchemaVersion(const Aws::String &value)
bool ContentHashHasBeenSet() const
void SetCaptureTime(const char *value)
InventoryItem & WithContentHash(const char *value)
bool TypeNameHasBeenSet() const
InventoryItem & AddContext(Aws::String &&key, const char *value)
void SetCaptureTime(Aws::String &&value)
const Aws::String & GetTypeName() const
InventoryItem & WithTypeName(Aws::String &&value)
InventoryItem & WithContext(const Aws::Map< Aws::String, Aws::String > &value)
InventoryItem & WithCaptureTime(const Aws::String &value)
void SetSchemaVersion(Aws::String &&value)
InventoryItem & AddContext(Aws::String &&key, Aws::String &&value)
const Aws::String & GetSchemaVersion() const
void SetContext(Aws::Map< Aws::String, Aws::String > &&value)
InventoryItem & AddContent(const Aws::Map< Aws::String, Aws::String > &value)
InventoryItem & AddContext(const char *key, const char *value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetContent() const
InventoryItem & WithSchemaVersion(Aws::String &&value)
AWS_SSM_API InventoryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentHash(const Aws::String &value)
bool CaptureTimeHasBeenSet() const
InventoryItem & WithContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetTypeName(Aws::String &&value)
InventoryItem & WithTypeName(const char *value)
void SetContent(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
InventoryItem & WithContent(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
InventoryItem & WithContentHash(const Aws::String &value)
void SetTypeName(const char *value)
InventoryItem & WithCaptureTime(const char *value)
InventoryItem & WithContentHash(Aws::String &&value)
bool SchemaVersionHasBeenSet() const
void SetTypeName(const Aws::String &value)
InventoryItem & AddContext(const Aws::String &key, const Aws::String &value)
InventoryItem & WithCaptureTime(Aws::String &&value)
void SetCaptureTime(const Aws::String &value)
InventoryItem & AddContent(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SSM_API InventoryItem()
const Aws::String & GetContentHash() const
InventoryItem & AddContext(const Aws::String &key, Aws::String &&value)
void SetSchemaVersion(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContent(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
bool ContextHasBeenSet() const
bool ContentHasBeenSet() const
InventoryItem & WithTypeName(const Aws::String &value)
void SetContentHash(Aws::String &&value)
void SetSchemaVersion(const char *value)
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