AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EntitlementAttribute.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 AppStream
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_APPSTREAM_API EntitlementAttribute() = default;
40 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 EntitlementAttribute& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
65 inline const Aws::String& GetValue() const { return m_value; }
66 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
67 template<typename ValueT = Aws::String>
68 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
69 template<typename ValueT = Aws::String>
70 EntitlementAttribute& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 Aws::String m_value;
78 bool m_valueHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AppStream
83} // namespace Aws
EntitlementAttribute & WithValue(ValueT &&value)
AWS_APPSTREAM_API EntitlementAttribute()=default
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API EntitlementAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API EntitlementAttribute(Aws::Utils::Json::JsonView jsonValue)
EntitlementAttribute & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue