AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
48 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
49 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
50 inline UserProficiency& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
51 inline UserProficiency& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
52 inline UserProficiency& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
54
56
60 inline const Aws::String& GetAttributeValue() const{ return m_attributeValue; }
61 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
62 inline void SetAttributeValue(const Aws::String& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
63 inline void SetAttributeValue(Aws::String&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
64 inline void SetAttributeValue(const char* value) { m_attributeValueHasBeenSet = true; m_attributeValue.assign(value); }
65 inline UserProficiency& WithAttributeValue(const Aws::String& value) { SetAttributeValue(value); return *this;}
66 inline UserProficiency& WithAttributeValue(Aws::String&& value) { SetAttributeValue(std::move(value)); return *this;}
67 inline UserProficiency& WithAttributeValue(const char* value) { SetAttributeValue(value); return *this;}
69
71
74 inline double GetLevel() const{ return m_level; }
75 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
76 inline void SetLevel(double value) { m_levelHasBeenSet = true; m_level = value; }
77 inline UserProficiency& WithLevel(double value) { SetLevel(value); return *this;}
79 private:
80
81 Aws::String m_attributeName;
82 bool m_attributeNameHasBeenSet = false;
83
84 Aws::String m_attributeValue;
85 bool m_attributeValueHasBeenSet = false;
86
87 double m_level;
88 bool m_levelHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
UserProficiency & WithAttributeValue(const char *value)
UserProficiency & WithAttributeValue(Aws::String &&value)
void SetAttributeValue(Aws::String &&value)
UserProficiency & WithLevel(double value)
const Aws::String & GetAttributeValue() const
void SetAttributeValue(const Aws::String &value)
UserProficiency & WithAttributeName(const char *value)
const Aws::String & GetAttributeName() const
UserProficiency & WithAttributeValue(const Aws::String &value)
UserProficiency & WithAttributeName(Aws::String &&value)
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 SetAttributeValue(const char *value)
void SetAttributeName(Aws::String &&value)
void SetAttributeName(const char *value)
void SetAttributeName(const Aws::String &value)
UserProficiency & WithAttributeName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue