AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryItemAttribute.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/InventoryAttributeDataType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline InventoryItemAttribute& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline InventoryItemAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline InventoryItemAttribute& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const InventoryAttributeDataType& GetDataType() const{ return m_dataType; }
61 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
62 inline void SetDataType(const InventoryAttributeDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
63 inline void SetDataType(InventoryAttributeDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
64 inline InventoryItemAttribute& WithDataType(const InventoryAttributeDataType& value) { SetDataType(value); return *this;}
65 inline InventoryItemAttribute& WithDataType(InventoryAttributeDataType&& value) { SetDataType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
73 bool m_dataTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SSM
78} // namespace Aws
const InventoryAttributeDataType & GetDataType() const
void SetDataType(InventoryAttributeDataType &&value)
InventoryItemAttribute & WithDataType(InventoryAttributeDataType &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataType(const InventoryAttributeDataType &value)
AWS_SSM_API InventoryItemAttribute(Aws::Utils::Json::JsonView jsonValue)
InventoryItemAttribute & WithName(const char *value)
InventoryItemAttribute & WithDataType(const InventoryAttributeDataType &value)
InventoryItemAttribute & WithName(Aws::String &&value)
InventoryItemAttribute & WithName(const Aws::String &value)
AWS_SSM_API InventoryItemAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue