AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RecommendationRelatedEventResource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsGuru {
20namespace Model {
21
30 public:
31 AWS_DEVOPSGURU_API RecommendationRelatedEventResource() = default;
34 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 template <typename TypeT = Aws::String>
63 void SetType(TypeT&& value) {
64 m_typeHasBeenSet = true;
65 m_type = std::forward<TypeT>(value);
66 }
67 template <typename TypeT = Aws::String>
69 SetType(std::forward<TypeT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_name;
75
76 Aws::String m_type;
77 bool m_nameHasBeenSet = false;
78 bool m_typeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DevOpsGuru
83} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue