AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline AccountTargeting GetAccountTargeting() const { return m_accountTargeting; }
47 inline bool AccountTargetingHasBeenSet() const { return m_accountTargetingHasBeenSet; }
48 inline void SetAccountTargeting(AccountTargeting value) { m_accountTargetingHasBeenSet = true; m_accountTargeting = value; }
51
53
56 inline EmptyTargetResolutionMode GetEmptyTargetResolutionMode() const { return m_emptyTargetResolutionMode; }
57 inline bool EmptyTargetResolutionModeHasBeenSet() const { return m_emptyTargetResolutionModeHasBeenSet; }
58 inline void SetEmptyTargetResolutionMode(EmptyTargetResolutionMode value) { m_emptyTargetResolutionModeHasBeenSet = true; m_emptyTargetResolutionMode = value; }
61
63
67 inline ActionsMode GetActionsMode() const { return m_actionsMode; }
68 inline bool ActionsModeHasBeenSet() const { return m_actionsModeHasBeenSet; }
69 inline void SetActionsMode(ActionsMode value) { m_actionsModeHasBeenSet = true; m_actionsMode = value; }
70 inline ExperimentOptions& WithActionsMode(ActionsMode value) { SetActionsMode(value); return *this;}
72 private:
73
75 bool m_accountTargetingHasBeenSet = false;
76
78 bool m_emptyTargetResolutionModeHasBeenSet = false;
79
80 ActionsMode m_actionsMode{ActionsMode::NOT_SET};
81 bool m_actionsModeHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace FIS
86} // namespace Aws
ExperimentOptions & WithEmptyTargetResolutionMode(EmptyTargetResolutionMode value)
EmptyTargetResolutionMode GetEmptyTargetResolutionMode() const
AccountTargeting GetAccountTargeting() const
AWS_FIS_API ExperimentOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API ExperimentOptions(Aws::Utils::Json::JsonView jsonValue)
void SetActionsMode(ActionsMode value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountTargeting(AccountTargeting value)
ExperimentOptions & WithAccountTargeting(AccountTargeting value)
void SetEmptyTargetResolutionMode(EmptyTargetResolutionMode value)
AWS_FIS_API ExperimentOptions()=default
ExperimentOptions & WithActionsMode(ActionsMode value)
Aws::Utils::Json::JsonValue JsonValue