AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
RecommendationRelatedEvent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/RecommendationRelatedEventResource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DevOpsGuru {
22namespace Model {
23
31 public:
32 AWS_DEVOPSGURU_API RecommendationRelatedEvent() = default;
35 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::Vector<RecommendationRelatedEventResource>& GetResources() const { return m_resources; }
63 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
64 template <typename ResourcesT = Aws::Vector<RecommendationRelatedEventResource>>
65 void SetResources(ResourcesT&& value) {
66 m_resourcesHasBeenSet = true;
67 m_resources = std::forward<ResourcesT>(value);
68 }
69 template <typename ResourcesT = Aws::Vector<RecommendationRelatedEventResource>>
71 SetResources(std::forward<ResourcesT>(value));
72 return *this;
73 }
74 template <typename ResourcesT = RecommendationRelatedEventResource>
76 m_resourcesHasBeenSet = true;
77 m_resources.emplace_back(std::forward<ResourcesT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_name;
83
85 bool m_nameHasBeenSet = false;
86 bool m_resourcesHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace DevOpsGuru
91} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue