AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ServiceLevelObjectiveEntity.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApplicationSignals {
20namespace Model {
21
29 public:
30 AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveEntity() = default;
31 AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveEntity(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSloName() const { return m_sloName; }
40 inline bool SloNameHasBeenSet() const { return m_sloNameHasBeenSet; }
41 template <typename SloNameT = Aws::String>
42 void SetSloName(SloNameT&& value) {
43 m_sloNameHasBeenSet = true;
44 m_sloName = std::forward<SloNameT>(value);
45 }
46 template <typename SloNameT = Aws::String>
48 SetSloName(std::forward<SloNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetSloArn() const { return m_sloArn; }
59 inline bool SloArnHasBeenSet() const { return m_sloArnHasBeenSet; }
60 template <typename SloArnT = Aws::String>
61 void SetSloArn(SloArnT&& value) {
62 m_sloArnHasBeenSet = true;
63 m_sloArn = std::forward<SloArnT>(value);
64 }
65 template <typename SloArnT = Aws::String>
67 SetSloArn(std::forward<SloArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_sloName;
73
74 Aws::String m_sloArn;
75 bool m_sloNameHasBeenSet = false;
76 bool m_sloArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ApplicationSignals
81} // namespace Aws
ServiceLevelObjectiveEntity & WithSloName(SloNameT &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveEntity()=default
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveEntity(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue