AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 Connect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECT_API UserProficiency() = default;
35 AWS_CONNECT_API UserProficiency(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
46 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
47 template<typename AttributeNameT = Aws::String>
48 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::forward<AttributeNameT>(value); }
49 template<typename AttributeNameT = Aws::String>
50 UserProficiency& WithAttributeName(AttributeNameT&& value) { SetAttributeName(std::forward<AttributeNameT>(value)); return *this;}
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) { m_attributeValueHasBeenSet = true; m_attributeValue = std::forward<AttributeValueT>(value); }
62 template<typename AttributeValueT = Aws::String>
63 UserProficiency& WithAttributeValue(AttributeValueT&& value) { SetAttributeValue(std::forward<AttributeValueT>(value)); return *this;}
65
67
70 inline double GetLevel() const { return m_level; }
71 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
72 inline void SetLevel(double value) { m_levelHasBeenSet = true; m_level = value; }
73 inline UserProficiency& WithLevel(double value) { SetLevel(value); return *this;}
75 private:
76
77 Aws::String m_attributeName;
78 bool m_attributeNameHasBeenSet = false;
79
80 Aws::String m_attributeValue;
81 bool m_attributeValueHasBeenSet = false;
82
83 double m_level{0.0};
84 bool m_levelHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Connect
89} // 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