AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UserProficiency.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
28 public:
29 AWS_CONNECT_API UserProficiency() = default;
30 AWS_CONNECT_API UserProficiency(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
40 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
41 template <typename AttributeNameT = Aws::String>
42 void SetAttributeName(AttributeNameT&& value) {
43 m_attributeNameHasBeenSet = true;
44 m_attributeName = std::forward<AttributeNameT>(value);
45 }
46 template <typename AttributeNameT = Aws::String>
47 UserProficiency& WithAttributeName(AttributeNameT&& value) {
48 SetAttributeName(std::forward<AttributeNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetAttributeValue() const { return m_attributeValue; }
59 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
60 template <typename AttributeValueT = Aws::String>
61 void SetAttributeValue(AttributeValueT&& value) {
62 m_attributeValueHasBeenSet = true;
63 m_attributeValue = std::forward<AttributeValueT>(value);
64 }
65 template <typename AttributeValueT = Aws::String>
66 UserProficiency& WithAttributeValue(AttributeValueT&& value) {
67 SetAttributeValue(std::forward<AttributeValueT>(value));
68 return *this;
69 }
71
73
76 inline double GetLevel() const { return m_level; }
77 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
78 inline void SetLevel(double value) {
79 m_levelHasBeenSet = true;
80 m_level = value;
81 }
82 inline UserProficiency& WithLevel(double value) {
83 SetLevel(value);
84 return *this;
85 }
87 private:
88 Aws::String m_attributeName;
89
90 Aws::String m_attributeValue;
91
92 double m_level{0.0};
93 bool m_attributeNameHasBeenSet = false;
94 bool m_attributeValueHasBeenSet = false;
95 bool m_levelHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
UserProficiency & WithAttributeName(AttributeNameT &&value)
AWS_CONNECT_API UserProficiency()=default
UserProficiency & WithAttributeValue(AttributeValueT &&value)
UserProficiency & WithLevel(double value)
const Aws::String & GetAttributeValue() const
void SetAttributeValue(AttributeValueT &&value)
const Aws::String & GetAttributeName() const
AWS_CONNECT_API UserProficiency(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API UserProficiency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeName(AttributeNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue