AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
TimeOffValidationResult.h
1
6#pragma once
7#include <aws/connectscheduling/ConnectScheduling_EXPORTS.h>
8#include <aws/connectscheduling/model/TimeOffValidationCode.h>
9#include <aws/connectscheduling/model/TimeOffValidationSeverity.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectScheduling {
21namespace Model {
22
30 public:
31 AWS_CONNECTSCHEDULING_API TimeOffValidationResult() = default;
32 AWS_CONNECTSCHEDULING_API TimeOffValidationResult(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTSCHEDULING_API TimeOffValidationResult& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTSCHEDULING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline TimeOffValidationSeverity GetSeverity() const { return m_severity; }
45 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
47 m_severityHasBeenSet = true;
48 m_severity = value;
49 }
51 SetSeverity(value);
52 return *this;
53 }
55
57
78 inline TimeOffValidationCode GetCode() const { return m_code; }
79 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
80 inline void SetCode(TimeOffValidationCode value) {
81 m_codeHasBeenSet = true;
82 m_code = value;
83 }
85 SetCode(value);
86 return *this;
87 }
89 private:
91
93 bool m_severityHasBeenSet = false;
94 bool m_codeHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ConnectScheduling
99} // namespace Aws
AWS_CONNECTSCHEDULING_API TimeOffValidationResult()=default
AWS_CONNECTSCHEDULING_API TimeOffValidationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTSCHEDULING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTSCHEDULING_API TimeOffValidationResult(Aws::Utils::Json::JsonView jsonValue)
TimeOffValidationResult & WithSeverity(TimeOffValidationSeverity value)
TimeOffValidationResult & WithCode(TimeOffValidationCode value)
Aws::Utils::Json::JsonValue JsonValue