AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentOptions.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/AccountTargeting.h>
9#include <aws/fis/model/EmptyTargetResolutionMode.h>
10#include <aws/fis/model/ActionsMode.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 FIS
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FIS_API ExperimentOptions();
40
41
43
46 inline const AccountTargeting& GetAccountTargeting() const{ return m_accountTargeting; }
47 inline bool AccountTargetingHasBeenSet() const { return m_accountTargetingHasBeenSet; }
48 inline void SetAccountTargeting(const AccountTargeting& value) { m_accountTargetingHasBeenSet = true; m_accountTargeting = value; }
49 inline void SetAccountTargeting(AccountTargeting&& value) { m_accountTargetingHasBeenSet = true; m_accountTargeting = std::move(value); }
50 inline ExperimentOptions& WithAccountTargeting(const AccountTargeting& value) { SetAccountTargeting(value); return *this;}
51 inline ExperimentOptions& WithAccountTargeting(AccountTargeting&& value) { SetAccountTargeting(std::move(value)); return *this;}
53
55
58 inline const EmptyTargetResolutionMode& GetEmptyTargetResolutionMode() const{ return m_emptyTargetResolutionMode; }
59 inline bool EmptyTargetResolutionModeHasBeenSet() const { return m_emptyTargetResolutionModeHasBeenSet; }
60 inline void SetEmptyTargetResolutionMode(const EmptyTargetResolutionMode& value) { m_emptyTargetResolutionModeHasBeenSet = true; m_emptyTargetResolutionMode = value; }
61 inline void SetEmptyTargetResolutionMode(EmptyTargetResolutionMode&& value) { m_emptyTargetResolutionModeHasBeenSet = true; m_emptyTargetResolutionMode = std::move(value); }
65
67
71 inline const ActionsMode& GetActionsMode() const{ return m_actionsMode; }
72 inline bool ActionsModeHasBeenSet() const { return m_actionsModeHasBeenSet; }
73 inline void SetActionsMode(const ActionsMode& value) { m_actionsModeHasBeenSet = true; m_actionsMode = value; }
74 inline void SetActionsMode(ActionsMode&& value) { m_actionsModeHasBeenSet = true; m_actionsMode = std::move(value); }
75 inline ExperimentOptions& WithActionsMode(const ActionsMode& value) { SetActionsMode(value); return *this;}
76 inline ExperimentOptions& WithActionsMode(ActionsMode&& value) { SetActionsMode(std::move(value)); return *this;}
78 private:
79
80 AccountTargeting m_accountTargeting;
81 bool m_accountTargetingHasBeenSet = false;
82
83 EmptyTargetResolutionMode m_emptyTargetResolutionMode;
84 bool m_emptyTargetResolutionModeHasBeenSet = false;
85
86 ActionsMode m_actionsMode;
87 bool m_actionsModeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace FIS
92} // namespace Aws
void SetActionsMode(ActionsMode &&value)
const AccountTargeting & GetAccountTargeting() const
AWS_FIS_API ExperimentOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const EmptyTargetResolutionMode & GetEmptyTargetResolutionMode() const
void SetActionsMode(const ActionsMode &value)
const ActionsMode & GetActionsMode() const
void SetAccountTargeting(AccountTargeting &&value)
ExperimentOptions & WithActionsMode(ActionsMode &&value)
AWS_FIS_API ExperimentOptions(Aws::Utils::Json::JsonView jsonValue)
ExperimentOptions & WithEmptyTargetResolutionMode(const EmptyTargetResolutionMode &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountTargeting(const AccountTargeting &value)
ExperimentOptions & WithAccountTargeting(AccountTargeting &&value)
ExperimentOptions & WithEmptyTargetResolutionMode(EmptyTargetResolutionMode &&value)
void SetEmptyTargetResolutionMode(const EmptyTargetResolutionMode &value)
ExperimentOptions & WithAccountTargeting(const AccountTargeting &value)
ExperimentOptions & WithActionsMode(const ActionsMode &value)
void SetEmptyTargetResolutionMode(EmptyTargetResolutionMode &&value)
Aws::Utils::Json::JsonValue JsonValue