AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline GeneratorDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline GeneratorDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline GeneratorDetails& WithName(const char* value) { SetName(value); return *this;}
58
60
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline GeneratorDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline GeneratorDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline GeneratorDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
80 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
81 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
82 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
83 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
84 inline GeneratorDetails& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
85 inline GeneratorDetails& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
86 inline GeneratorDetails& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
87 inline GeneratorDetails& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
88 inline GeneratorDetails& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_description;
96 bool m_descriptionHasBeenSet = false;
97
99 bool m_labelsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityHub
104} // namespace Aws
GeneratorDetails & WithLabels(const Aws::Vector< Aws::String > &value)
GeneratorDetails & AddLabels(Aws::String &&value)
const Aws::String & GetDescription() const
GeneratorDetails & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
GeneratorDetails & WithName(const char *value)
GeneratorDetails & AddLabels(const Aws::String &value)
void SetLabels(const Aws::Vector< Aws::String > &value)
GeneratorDetails & WithName(const Aws::String &value)
GeneratorDetails & WithDescription(Aws::String &&value)
AWS_SECURITYHUB_API GeneratorDetails(Aws::Utils::Json::JsonView jsonValue)
GeneratorDetails & WithDescription(const char *value)
GeneratorDetails & AddLabels(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLabels() const
GeneratorDetails & WithDescription(const Aws::String &value)
AWS_SECURITYHUB_API GeneratorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
GeneratorDetails & WithLabels(Aws::Vector< Aws::String > &&value)
void SetLabels(Aws::Vector< Aws::String > &&value)
void SetDescription(const Aws::String &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