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/fms/FMS_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 FMS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_FMS_API ActionTarget();
38
39
41
44 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
45 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
46 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
47 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
48 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
49 inline ActionTarget& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
50 inline ActionTarget& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
51 inline ActionTarget& WithResourceId(const char* value) { SetResourceId(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline ActionTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline ActionTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline ActionTarget& WithDescription(const char* value) { SetDescription(value); return *this;}
67 private:
68
69 Aws::String m_resourceId;
70 bool m_resourceIdHasBeenSet = false;
71
72 Aws::String m_description;
73 bool m_descriptionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace FMS
78} // namespace Aws
void SetDescription(const char *value)
ActionTarget & WithResourceId(const char *value)
ActionTarget & WithResourceId(Aws::String &&value)
void SetResourceId(const char *value)
void SetDescription(Aws::String &&value)
void SetResourceId(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
ActionTarget & WithDescription(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API ActionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionTarget & WithDescription(Aws::String &&value)
ActionTarget & WithDescription(const char *value)
void SetResourceId(const Aws::String &value)
ActionTarget & WithResourceId(const Aws::String &value)
AWS_FMS_API ActionTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue