AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GoalScheduleInput.h
1
6#pragma once
7#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
8#include <aws/devops-agent/model/SchedulerState.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
29 public:
30 AWS_DEVOPSAGENT_API GoalScheduleInput() = default;
31 AWS_DEVOPSAGENT_API GoalScheduleInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline SchedulerState GetState() const { return m_state; }
40 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
41 inline void SetState(SchedulerState value) {
42 m_stateHasBeenSet = true;
43 m_state = value;
44 }
46 SetState(value);
47 return *this;
48 }
50 private:
52 bool m_stateHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace DevOpsAgent
57} // namespace Aws
GoalScheduleInput & WithState(SchedulerState value)
AWS_DEVOPSAGENT_API GoalScheduleInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API GoalScheduleInput(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API GoalScheduleInput()=default
Aws::Utils::Json::JsonValue JsonValue