AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpsItemDataValue.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/OpsItemDataType.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 OpsItemDataValue();
40
41
43
46 inline const Aws::String& GetValue() const{ return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
49 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
50 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
51 inline OpsItemDataValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
52 inline OpsItemDataValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
53 inline OpsItemDataValue& WithValue(const char* value) { SetValue(value); return *this;}
55
57
61 inline const OpsItemDataType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const OpsItemDataType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(OpsItemDataType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline OpsItemDataValue& WithType(const OpsItemDataType& value) { SetType(value); return *this;}
66 inline OpsItemDataValue& WithType(OpsItemDataType&& value) { SetType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_value;
71 bool m_valueHasBeenSet = false;
72
73 OpsItemDataType m_type;
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SSM
79} // namespace Aws
const Aws::String & GetValue() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API OpsItemDataValue(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const char *value)
OpsItemDataValue & WithType(OpsItemDataType &&value)
OpsItemDataValue & WithType(const OpsItemDataType &value)
OpsItemDataValue & WithValue(const Aws::String &value)
const OpsItemDataType & GetType() const
OpsItemDataValue & WithValue(Aws::String &&value)
OpsItemDataValue & WithValue(const char *value)
AWS_SSM_API OpsItemDataValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const OpsItemDataType &value)
void SetType(OpsItemDataType &&value)
void SetValue(Aws::String &&value)
void SetValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue