AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
EntitlementAttribute.h
Go to the documentation of this file.
1
6#pragma once
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:
41
42
51 inline const Aws::String& GetName() const{ return m_name; }
52
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92
101 inline EntitlementAttribute& WithName(const Aws::String& value) { SetName(value); return *this;}
102
111 inline EntitlementAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112
121 inline EntitlementAttribute& WithName(const char* value) { SetName(value); return *this;}
122
123
128 inline const Aws::String& GetValue() const{ return m_value; }
129
134 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
135
140 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
141
146 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
147
152 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
153
158 inline EntitlementAttribute& WithValue(const Aws::String& value) { SetValue(value); return *this;}
159
164 inline EntitlementAttribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
165
170 inline EntitlementAttribute& WithValue(const char* value) { SetValue(value); return *this;}
171
172 private:
173
174 Aws::String m_name;
175 bool m_nameHasBeenSet = false;
176
177 Aws::String m_value;
178 bool m_valueHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace AppStream
183} // namespace Aws
#define AWS_APPSTREAM_API
EntitlementAttribute & WithValue(const Aws::String &value)
EntitlementAttribute & WithName(const char *value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
EntitlementAttribute & WithName(const Aws::String &value)
AWS_APPSTREAM_API EntitlementAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API EntitlementAttribute(Aws::Utils::Json::JsonView jsonValue)
EntitlementAttribute & WithValue(const char *value)
EntitlementAttribute & WithValue(Aws::String &&value)
EntitlementAttribute & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String