AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PossibleRemediationAction.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/RemediationActionWithOrder.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
34 {
35 public:
40
41
43
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline PossibleRemediationAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline PossibleRemediationAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline PossibleRemediationAction& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
60 inline const Aws::Vector<RemediationActionWithOrder>& GetOrderedRemediationActions() const{ return m_orderedRemediationActions; }
61 inline bool OrderedRemediationActionsHasBeenSet() const { return m_orderedRemediationActionsHasBeenSet; }
62 inline void SetOrderedRemediationActions(const Aws::Vector<RemediationActionWithOrder>& value) { m_orderedRemediationActionsHasBeenSet = true; m_orderedRemediationActions = value; }
63 inline void SetOrderedRemediationActions(Aws::Vector<RemediationActionWithOrder>&& value) { m_orderedRemediationActionsHasBeenSet = true; m_orderedRemediationActions = std::move(value); }
66 inline PossibleRemediationAction& AddOrderedRemediationActions(const RemediationActionWithOrder& value) { m_orderedRemediationActionsHasBeenSet = true; m_orderedRemediationActions.push_back(value); return *this; }
67 inline PossibleRemediationAction& AddOrderedRemediationActions(RemediationActionWithOrder&& value) { m_orderedRemediationActionsHasBeenSet = true; m_orderedRemediationActions.push_back(std::move(value)); return *this; }
69
71
74 inline bool GetIsDefaultAction() const{ return m_isDefaultAction; }
75 inline bool IsDefaultActionHasBeenSet() const { return m_isDefaultActionHasBeenSet; }
76 inline void SetIsDefaultAction(bool value) { m_isDefaultActionHasBeenSet = true; m_isDefaultAction = value; }
77 inline PossibleRemediationAction& WithIsDefaultAction(bool value) { SetIsDefaultAction(value); return *this;}
79 private:
80
81 Aws::String m_description;
82 bool m_descriptionHasBeenSet = false;
83
84 Aws::Vector<RemediationActionWithOrder> m_orderedRemediationActions;
85 bool m_orderedRemediationActionsHasBeenSet = false;
86
87 bool m_isDefaultAction;
88 bool m_isDefaultActionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace FMS
93} // namespace Aws
const Aws::Vector< RemediationActionWithOrder > & GetOrderedRemediationActions() const
void SetOrderedRemediationActions(Aws::Vector< RemediationActionWithOrder > &&value)
PossibleRemediationAction & WithOrderedRemediationActions(Aws::Vector< RemediationActionWithOrder > &&value)
AWS_FMS_API PossibleRemediationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
PossibleRemediationAction & AddOrderedRemediationActions(RemediationActionWithOrder &&value)
PossibleRemediationAction & WithIsDefaultAction(bool value)
void SetOrderedRemediationActions(const Aws::Vector< RemediationActionWithOrder > &value)
AWS_FMS_API PossibleRemediationAction(Aws::Utils::Json::JsonView jsonValue)
PossibleRemediationAction & AddOrderedRemediationActions(const RemediationActionWithOrder &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
PossibleRemediationAction & WithDescription(const Aws::String &value)
PossibleRemediationAction & WithDescription(const char *value)
PossibleRemediationAction & WithOrderedRemediationActions(const Aws::Vector< RemediationActionWithOrder > &value)
PossibleRemediationAction & WithDescription(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