AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetTypeName() const{ return m_typeName; }
47 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
48 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
49 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
50 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
51 inline InventoryResultItem& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
52 inline InventoryResultItem& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
53 inline InventoryResultItem& WithTypeName(const char* value) { SetTypeName(value); return *this;}
55
57
60 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
61 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
62 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
63 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
64 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
65 inline InventoryResultItem& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
66 inline InventoryResultItem& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
67 inline InventoryResultItem& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
69
71
74 inline const Aws::String& GetCaptureTime() const{ return m_captureTime; }
75 inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; }
76 inline void SetCaptureTime(const Aws::String& value) { m_captureTimeHasBeenSet = true; m_captureTime = value; }
77 inline void SetCaptureTime(Aws::String&& value) { m_captureTimeHasBeenSet = true; m_captureTime = std::move(value); }
78 inline void SetCaptureTime(const char* value) { m_captureTimeHasBeenSet = true; m_captureTime.assign(value); }
79 inline InventoryResultItem& WithCaptureTime(const Aws::String& value) { SetCaptureTime(value); return *this;}
80 inline InventoryResultItem& WithCaptureTime(Aws::String&& value) { SetCaptureTime(std::move(value)); return *this;}
81 inline InventoryResultItem& WithCaptureTime(const char* value) { SetCaptureTime(value); return *this;}
83
85
91 inline const Aws::String& GetContentHash() const{ return m_contentHash; }
92 inline bool ContentHashHasBeenSet() const { return m_contentHashHasBeenSet; }
93 inline void SetContentHash(const Aws::String& value) { m_contentHashHasBeenSet = true; m_contentHash = value; }
94 inline void SetContentHash(Aws::String&& value) { m_contentHashHasBeenSet = true; m_contentHash = std::move(value); }
95 inline void SetContentHash(const char* value) { m_contentHashHasBeenSet = true; m_contentHash.assign(value); }
96 inline InventoryResultItem& WithContentHash(const Aws::String& value) { SetContentHash(value); return *this;}
97 inline InventoryResultItem& WithContentHash(Aws::String&& value) { SetContentHash(std::move(value)); return *this;}
98 inline InventoryResultItem& WithContentHash(const char* value) { SetContentHash(value); return *this;}
100
102
106 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetContent() const{ return m_content; }
107 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
108 inline void SetContent(const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& value) { m_contentHasBeenSet = true; m_content = value; }
109 inline void SetContent(Aws::Vector<Aws::Map<Aws::String, Aws::String>>&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
112 inline InventoryResultItem& AddContent(const Aws::Map<Aws::String, Aws::String>& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; }
113 inline InventoryResultItem& AddContent(Aws::Map<Aws::String, Aws::String>&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; }
115 private:
116
117 Aws::String m_typeName;
118 bool m_typeNameHasBeenSet = false;
119
120 Aws::String m_schemaVersion;
121 bool m_schemaVersionHasBeenSet = false;
122
123 Aws::String m_captureTime;
124 bool m_captureTimeHasBeenSet = false;
125
126 Aws::String m_contentHash;
127 bool m_contentHashHasBeenSet = false;
128
130 bool m_contentHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SSM
135} // namespace Aws
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetContent() const
InventoryResultItem & WithCaptureTime(const Aws::String &value)
InventoryResultItem & WithContentHash(const char *value)
InventoryResultItem & WithSchemaVersion(const char *value)
InventoryResultItem & WithSchemaVersion(const Aws::String &value)
const Aws::String & GetSchemaVersion() const
AWS_SSM_API InventoryResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTypeName(const Aws::String &value)
void SetContent(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
void SetSchemaVersion(const Aws::String &value)
InventoryResultItem & WithContent(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
InventoryResultItem & WithContentHash(Aws::String &&value)
InventoryResultItem & WithTypeName(Aws::String &&value)
InventoryResultItem & WithTypeName(const char *value)
InventoryResultItem & AddContent(Aws::Map< Aws::String, Aws::String > &&value)
void SetContentHash(Aws::String &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryResultItem & WithTypeName(const Aws::String &value)
InventoryResultItem & WithContent(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
InventoryResultItem & WithContentHash(const Aws::String &value)
InventoryResultItem & WithSchemaVersion(Aws::String &&value)
InventoryResultItem & AddContent(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetTypeName() const
void SetSchemaVersion(Aws::String &&value)
const Aws::String & GetContentHash() const
AWS_SSM_API InventoryResultItem(Aws::Utils::Json::JsonView jsonValue)
void SetCaptureTime(const Aws::String &value)
void SetCaptureTime(Aws::String &&value)
InventoryResultItem & WithCaptureTime(Aws::String &&value)
InventoryResultItem & WithCaptureTime(const char *value)
const Aws::String & GetCaptureTime() const
void SetContent(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
void SetContentHash(const Aws::String &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