AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GeneratorDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_SECURITYHUB_API GeneratorDetails() = default;
40 AWS_SECURITYHUB_API GeneratorDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SECURITYHUB_API GeneratorDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 GeneratorDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 GeneratorDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
76 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
77 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
78 template<typename LabelsT = Aws::Vector<Aws::String>>
79 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
80 template<typename LabelsT = Aws::Vector<Aws::String>>
81 GeneratorDetails& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
82 template<typename LabelsT = Aws::String>
83 GeneratorDetails& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
85 private:
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92
94 bool m_labelsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SecurityHub
99} // namespace Aws
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
GeneratorDetails & AddLabels(LabelsT &&value)
GeneratorDetails & WithName(NameT &&value)
AWS_SECURITYHUB_API GeneratorDetails(Aws::Utils::Json::JsonView jsonValue)
GeneratorDetails & WithDescription(DescriptionT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLabels() const
AWS_SECURITYHUB_API GeneratorDetails()=default
AWS_SECURITYHUB_API GeneratorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
GeneratorDetails & WithLabels(LabelsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue