AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetResourceId() const { return m_resourceId; }
45 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
46 template<typename ResourceIdT = Aws::String>
47 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
48 template<typename ResourceIdT = Aws::String>
49 ActionTarget& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 ActionTarget& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63 private:
64
65 Aws::String m_resourceId;
66 bool m_resourceIdHasBeenSet = false;
67
68 Aws::String m_description;
69 bool m_descriptionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace FMS
74} // namespace Aws
ActionTarget & WithDescription(DescriptionT &&value)
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetDescription() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API ActionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionTarget & WithResourceId(ResourceIdT &&value)
AWS_FMS_API ActionTarget(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const Aws::String & GetResourceId() const
AWS_FMS_API ActionTarget()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue