AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryResultEntity.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/AWSMap.h>
10#include <aws/ssm/model/InventoryResultItem.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 InventoryResultEntity();
40
41
43
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline InventoryResultEntity& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline InventoryResultEntity& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline InventoryResultEntity& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::Map<Aws::String, InventoryResultItem>& GetData() const{ return m_data; }
63 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
64 inline void SetData(const Aws::Map<Aws::String, InventoryResultItem>& value) { m_dataHasBeenSet = true; m_data = value; }
65 inline void SetData(Aws::Map<Aws::String, InventoryResultItem>&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
67 inline InventoryResultEntity& WithData(Aws::Map<Aws::String, InventoryResultItem>&& value) { SetData(std::move(value)); return *this;}
68 inline InventoryResultEntity& AddData(const Aws::String& key, const InventoryResultItem& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
69 inline InventoryResultEntity& AddData(Aws::String&& key, const InventoryResultItem& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
70 inline InventoryResultEntity& AddData(const Aws::String& key, InventoryResultItem&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
71 inline InventoryResultEntity& AddData(Aws::String&& key, InventoryResultItem&& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), std::move(value)); return *this; }
72 inline InventoryResultEntity& AddData(const char* key, InventoryResultItem&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
73 inline InventoryResultEntity& AddData(const char* key, const InventoryResultItem& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
81 bool m_dataHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SSM
86} // namespace Aws
InventoryResultEntity & AddData(const Aws::String &key, InventoryResultItem &&value)
InventoryResultEntity & WithId(Aws::String &&value)
InventoryResultEntity & AddData(Aws::String &&key, const InventoryResultItem &value)
InventoryResultEntity & WithData(const Aws::Map< Aws::String, InventoryResultItem > &value)
void SetData(Aws::Map< Aws::String, InventoryResultItem > &&value)
AWS_SSM_API InventoryResultEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryResultEntity & AddData(Aws::String &&key, InventoryResultItem &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, InventoryResultItem > & GetData() const
InventoryResultEntity & WithId(const char *value)
InventoryResultEntity & AddData(const char *key, InventoryResultItem &&value)
InventoryResultEntity & WithId(const Aws::String &value)
void SetData(const Aws::Map< Aws::String, InventoryResultItem > &value)
InventoryResultEntity & WithData(Aws::Map< Aws::String, InventoryResultItem > &&value)
AWS_SSM_API InventoryResultEntity(Aws::Utils::Json::JsonView jsonValue)
InventoryResultEntity & AddData(const Aws::String &key, const InventoryResultItem &value)
InventoryResultEntity & AddData(const char *key, const InventoryResultItem &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
Aws::Utils::Json::JsonValue JsonValue