AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionTarget.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYHUB_API ActionTarget();
35 AWS_SECURITYHUB_API ActionTarget(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API ActionTarget& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetActionTargetArn() const{ return m_actionTargetArn; }
45 inline bool ActionTargetArnHasBeenSet() const { return m_actionTargetArnHasBeenSet; }
46 inline void SetActionTargetArn(const Aws::String& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = value; }
47 inline void SetActionTargetArn(Aws::String&& value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn = std::move(value); }
48 inline void SetActionTargetArn(const char* value) { m_actionTargetArnHasBeenSet = true; m_actionTargetArn.assign(value); }
49 inline ActionTarget& WithActionTargetArn(const Aws::String& value) { SetActionTargetArn(value); return *this;}
50 inline ActionTarget& WithActionTargetArn(Aws::String&& value) { SetActionTargetArn(std::move(value)); return *this;}
51 inline ActionTarget& WithActionTargetArn(const char* value) { SetActionTargetArn(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline ActionTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline ActionTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline ActionTarget& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline ActionTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline ActionTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline ActionTarget& WithDescription(const char* value) { SetDescription(value); return *this;}
81 private:
82
83 Aws::String m_actionTargetArn;
84 bool m_actionTargetArnHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SecurityHub
95} // namespace Aws
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
ActionTarget & WithDescription(const char *value)
const Aws::String & GetDescription() const
ActionTarget & WithDescription(Aws::String &&value)
ActionTarget & WithActionTargetArn(Aws::String &&value)
void SetActionTargetArn(const Aws::String &value)
void SetName(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ActionTarget()
ActionTarget & WithName(const char *value)
ActionTarget & WithActionTargetArn(const char *value)
ActionTarget & WithName(Aws::String &&value)
const Aws::String & GetName() const
const Aws::String & GetActionTargetArn() const
AWS_SECURITYHUB_API ActionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
ActionTarget & WithActionTargetArn(const Aws::String &value)
ActionTarget & WithName(const Aws::String &value)
void SetDescription(const char *value)
AWS_SECURITYHUB_API ActionTarget(Aws::Utils::Json::JsonView jsonValue)
void SetActionTargetArn(const char *value)
void SetActionTargetArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
ActionTarget & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue