AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/ActionsMode.h>
10#include <aws/fis/model/EmptyTargetResolutionMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FIS {
22namespace Model {
23
30 public:
31 AWS_FIS_API ExperimentOptions() = default;
35
37
40 inline AccountTargeting GetAccountTargeting() const { return m_accountTargeting; }
41 inline bool AccountTargetingHasBeenSet() const { return m_accountTargetingHasBeenSet; }
43 m_accountTargetingHasBeenSet = true;
44 m_accountTargeting = value;
45 }
48 return *this;
49 }
51
53
56 inline EmptyTargetResolutionMode GetEmptyTargetResolutionMode() const { return m_emptyTargetResolutionMode; }
57 inline bool EmptyTargetResolutionModeHasBeenSet() const { return m_emptyTargetResolutionModeHasBeenSet; }
59 m_emptyTargetResolutionModeHasBeenSet = true;
60 m_emptyTargetResolutionMode = value;
61 }
64 return *this;
65 }
67
69
73 inline ActionsMode GetActionsMode() const { return m_actionsMode; }
74 inline bool ActionsModeHasBeenSet() const { return m_actionsModeHasBeenSet; }
75 inline void SetActionsMode(ActionsMode value) {
76 m_actionsModeHasBeenSet = true;
77 m_actionsMode = value;
78 }
80 SetActionsMode(value);
81 return *this;
82 }
84 private:
86
88
89 ActionsMode m_actionsMode{ActionsMode::NOT_SET};
90 bool m_accountTargetingHasBeenSet = false;
91 bool m_emptyTargetResolutionModeHasBeenSet = false;
92 bool m_actionsModeHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace FIS
97} // 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