AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCases {
20namespace Model {
21
29 public:
30 AWS_CONNECTCASES_API SlaContent() = default;
31 AWS_CONNECTCASES_API SlaContent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCASES_API SlaContent& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const SlaConfiguration& GetSlaConfiguration() const { return m_slaConfiguration; }
40 inline bool SlaConfigurationHasBeenSet() const { return m_slaConfigurationHasBeenSet; }
41 template <typename SlaConfigurationT = SlaConfiguration>
42 void SetSlaConfiguration(SlaConfigurationT&& value) {
43 m_slaConfigurationHasBeenSet = true;
44 m_slaConfiguration = std::forward<SlaConfigurationT>(value);
45 }
46 template <typename SlaConfigurationT = SlaConfiguration>
47 SlaContent& WithSlaConfiguration(SlaConfigurationT&& value) {
48 SetSlaConfiguration(std::forward<SlaConfigurationT>(value));
49 return *this;
50 }
52 private:
53 SlaConfiguration m_slaConfiguration;
54 bool m_slaConfigurationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ConnectCases
59} // 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:39
void SetSlaConfiguration(SlaConfigurationT &&value)
Definition SlaContent.h:42
AWS_CONNECTCASES_API SlaContent & operator=(Aws::Utils::Json::JsonView jsonValue)
SlaContent & WithSlaConfiguration(SlaConfigurationT &&value)
Definition SlaContent.h:47
Aws::Utils::Json::JsonValue JsonValue