AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PossibleRemediationActions.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fms/model/PossibleRemediationAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
36 {
37 public:
42
43
45
48 inline const Aws::String& GetDescription() const{ return m_description; }
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
50 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
52 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline PossibleRemediationActions& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline PossibleRemediationActions& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline PossibleRemediationActions& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
62 inline const Aws::Vector<PossibleRemediationAction>& GetActions() const{ return m_actions; }
63 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
64 inline void SetActions(const Aws::Vector<PossibleRemediationAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
65 inline void SetActions(Aws::Vector<PossibleRemediationAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
68 inline PossibleRemediationActions& AddActions(const PossibleRemediationAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
69 inline PossibleRemediationActions& AddActions(PossibleRemediationAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_description;
74 bool m_descriptionHasBeenSet = false;
75
77 bool m_actionsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FMS
82} // namespace Aws
AWS_FMS_API PossibleRemediationActions & operator=(Aws::Utils::Json::JsonView jsonValue)
PossibleRemediationActions & WithActions(Aws::Vector< PossibleRemediationAction > &&value)
PossibleRemediationActions & WithActions(const Aws::Vector< PossibleRemediationAction > &value)
PossibleRemediationActions & AddActions(PossibleRemediationAction &&value)
PossibleRemediationActions & WithDescription(const Aws::String &value)
void SetActions(Aws::Vector< PossibleRemediationAction > &&value)
AWS_FMS_API PossibleRemediationActions(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
PossibleRemediationActions & WithDescription(Aws::String &&value)
PossibleRemediationActions & AddActions(const PossibleRemediationAction &value)
const Aws::Vector< PossibleRemediationAction > & GetActions() const
PossibleRemediationActions & WithDescription(const char *value)
void SetActions(const Aws::Vector< PossibleRemediationAction > &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