AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecommendationRelatedEvent.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/model/RecommendationRelatedEventResource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DevOpsGuru
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DEVOPSGURU_API RecommendationRelatedEvent() = default;
40 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 RecommendationRelatedEvent& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_resourcesHasBeenSet = true; m_resources = std::forward<ResourcesT>(value); }
66 template<typename ResourcesT = Aws::Vector<RecommendationRelatedEventResource>>
67 RecommendationRelatedEvent& WithResources(ResourcesT&& value) { SetResources(std::forward<ResourcesT>(value)); return *this;}
68 template<typename ResourcesT = RecommendationRelatedEventResource>
69 RecommendationRelatedEvent& AddResources(ResourcesT&& value) { m_resourcesHasBeenSet = true; m_resources.emplace_back(std::forward<ResourcesT>(value)); return *this; }
71 private:
72
73 Aws::String m_name;
74 bool m_nameHasBeenSet = false;
75
77 bool m_resourcesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DevOpsGuru
82} // 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