AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunCommandParameters.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/events/model/RunCommandTarget.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 CloudWatchEvents
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCHEVENTS_API RunCommandParameters();
38 AWS_CLOUDWATCHEVENTS_API RunCommandParameters(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVENTS_API RunCommandParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<RunCommandTarget>& GetRunCommandTargets() const{ return m_runCommandTargets; }
49 inline bool RunCommandTargetsHasBeenSet() const { return m_runCommandTargetsHasBeenSet; }
50 inline void SetRunCommandTargets(const Aws::Vector<RunCommandTarget>& value) { m_runCommandTargetsHasBeenSet = true; m_runCommandTargets = value; }
51 inline void SetRunCommandTargets(Aws::Vector<RunCommandTarget>&& value) { m_runCommandTargetsHasBeenSet = true; m_runCommandTargets = std::move(value); }
54 inline RunCommandParameters& AddRunCommandTargets(const RunCommandTarget& value) { m_runCommandTargetsHasBeenSet = true; m_runCommandTargets.push_back(value); return *this; }
55 inline RunCommandParameters& AddRunCommandTargets(RunCommandTarget&& value) { m_runCommandTargetsHasBeenSet = true; m_runCommandTargets.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<RunCommandTarget> m_runCommandTargets;
60 bool m_runCommandTargetsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace CloudWatchEvents
65} // namespace Aws
AWS_CLOUDWATCHEVENTS_API RunCommandParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RunCommandTarget > & GetRunCommandTargets() const
RunCommandParameters & WithRunCommandTargets(const Aws::Vector< RunCommandTarget > &value)
void SetRunCommandTargets(const Aws::Vector< RunCommandTarget > &value)
RunCommandParameters & WithRunCommandTargets(Aws::Vector< RunCommandTarget > &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVENTS_API RunCommandParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
RunCommandParameters & AddRunCommandTargets(const RunCommandTarget &value)
void SetRunCommandTargets(Aws::Vector< RunCommandTarget > &&value)
RunCommandParameters & AddRunCommandTargets(RunCommandTarget &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue