AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PredefinedAttributeConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Connect {
17namespace Model {
18
28 public:
29 AWS_CONNECT_API PredefinedAttributeConfiguration() = default;
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline bool GetEnableValueValidationOnAssociation() const { return m_enableValueValidationOnAssociation; }
42 inline bool EnableValueValidationOnAssociationHasBeenSet() const { return m_enableValueValidationOnAssociationHasBeenSet; }
43 inline void SetEnableValueValidationOnAssociation(bool value) {
44 m_enableValueValidationOnAssociationHasBeenSet = true;
45 m_enableValueValidationOnAssociation = value;
46 }
49 return *this;
50 }
52
54
58 inline bool GetIsReadOnly() const { return m_isReadOnly; }
59 inline bool IsReadOnlyHasBeenSet() const { return m_isReadOnlyHasBeenSet; }
60 inline void SetIsReadOnly(bool value) {
61 m_isReadOnlyHasBeenSet = true;
62 m_isReadOnly = value;
63 }
65 SetIsReadOnly(value);
66 return *this;
67 }
69 private:
70 bool m_enableValueValidationOnAssociation{false};
71
72 bool m_isReadOnly{false};
73 bool m_enableValueValidationOnAssociationHasBeenSet = false;
74 bool m_isReadOnlyHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
PredefinedAttributeConfiguration & WithEnableValueValidationOnAssociation(bool value)
AWS_CONNECT_API PredefinedAttributeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API PredefinedAttributeConfiguration()=default
AWS_CONNECT_API PredefinedAttributeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
PredefinedAttributeConfiguration & WithIsReadOnly(bool value)
Aws::Utils::Json::JsonValue JsonValue