AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduledSplitsLaunchDefinition.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/evidently/model/ScheduledSplit.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudWatchEvidently
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCHEVIDENTLY_API ScheduledSplitsLaunchDefinition();
38 AWS_CLOUDWATCHEVIDENTLY_API ScheduledSplitsLaunchDefinition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<ScheduledSplit>& GetSteps() const{ return m_steps; }
50 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
51 inline void SetSteps(const Aws::Vector<ScheduledSplit>& value) { m_stepsHasBeenSet = true; m_steps = value; }
52 inline void SetSteps(Aws::Vector<ScheduledSplit>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
54 inline ScheduledSplitsLaunchDefinition& WithSteps(Aws::Vector<ScheduledSplit>&& value) { SetSteps(std::move(value)); return *this;}
55 inline ScheduledSplitsLaunchDefinition& AddSteps(const ScheduledSplit& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
56 inline ScheduledSplitsLaunchDefinition& AddSteps(ScheduledSplit&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
58 private:
59
61 bool m_stepsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace CloudWatchEvidently
66} // namespace Aws
ScheduledSplitsLaunchDefinition & WithSteps(Aws::Vector< ScheduledSplit > &&value)
ScheduledSplitsLaunchDefinition & WithSteps(const Aws::Vector< ScheduledSplit > &value)
ScheduledSplitsLaunchDefinition & AddSteps(const ScheduledSplit &value)
ScheduledSplitsLaunchDefinition & AddSteps(ScheduledSplit &&value)
AWS_CLOUDWATCHEVIDENTLY_API ScheduledSplitsLaunchDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API ScheduledSplitsLaunchDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue