AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SlaContent.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/SlaConfiguration.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 ConnectCases
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECTCASES_API SlaContent() = default;
36 AWS_CONNECTCASES_API SlaContent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCASES_API SlaContent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const SlaConfiguration& GetSlaConfiguration() const { return m_slaConfiguration; }
46 inline bool SlaConfigurationHasBeenSet() const { return m_slaConfigurationHasBeenSet; }
47 template<typename SlaConfigurationT = SlaConfiguration>
48 void SetSlaConfiguration(SlaConfigurationT&& value) { m_slaConfigurationHasBeenSet = true; m_slaConfiguration = std::forward<SlaConfigurationT>(value); }
49 template<typename SlaConfigurationT = SlaConfiguration>
50 SlaContent& WithSlaConfiguration(SlaConfigurationT&& value) { SetSlaConfiguration(std::forward<SlaConfigurationT>(value)); return *this;}
52 private:
53
54 SlaConfiguration m_slaConfiguration;
55 bool m_slaConfigurationHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace ConnectCases
60} // namespace Aws
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCASES_API SlaContent(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API SlaContent()=default
const SlaConfiguration & GetSlaConfiguration() const
Definition SlaContent.h:45
void SetSlaConfiguration(SlaConfigurationT &&value)
Definition SlaContent.h:48
AWS_CONNECTCASES_API SlaContent & operator=(Aws::Utils::Json::JsonView jsonValue)
SlaContent & WithSlaConfiguration(SlaConfigurationT &&value)
Definition SlaContent.h:50
Aws::Utils::Json::JsonValue JsonValue