AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
36 AWS_SSM_API InventoryItemAttribute() = default;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 InventoryItemAttribute& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline InventoryAttributeDataType GetDataType() const { return m_dataType; }
59 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
60 inline void SetDataType(InventoryAttributeDataType value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
63 private:
64
65 Aws::String m_name;
66 bool m_nameHasBeenSet = false;
67
69 bool m_dataTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SSM
74} // namespace Aws
AWS_SSM_API InventoryItemAttribute()=default
InventoryItemAttribute & WithDataType(InventoryAttributeDataType value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataType(InventoryAttributeDataType value)
AWS_SSM_API InventoryItemAttribute(Aws::Utils::Json::JsonView jsonValue)
InventoryAttributeDataType GetDataType() const
AWS_SSM_API InventoryItemAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryItemAttribute & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue