AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceValue.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ResourceValueType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONFIGSERVICE_API ResourceValue();
35 AWS_CONFIGSERVICE_API ResourceValue(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONFIGSERVICE_API ResourceValue& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const ResourceValueType& GetValue() const{ return m_value; }
45 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
46 inline void SetValue(const ResourceValueType& value) { m_valueHasBeenSet = true; m_value = value; }
47 inline void SetValue(ResourceValueType&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
48 inline ResourceValue& WithValue(const ResourceValueType& value) { SetValue(value); return *this;}
49 inline ResourceValue& WithValue(ResourceValueType&& value) { SetValue(std::move(value)); return *this;}
51 private:
52
53 ResourceValueType m_value;
54 bool m_valueHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace ConfigService
59} // namespace Aws
ResourceValue & WithValue(const ResourceValueType &value)
void SetValue(ResourceValueType &&value)
void SetValue(const ResourceValueType &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API ResourceValue()
ResourceValue & WithValue(ResourceValueType &&value)
AWS_CONFIGSERVICE_API ResourceValue(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API ResourceValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceValueType & GetValue() const
Aws::Utils::Json::JsonValue JsonValue