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/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/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 EventBridge
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_EVENTBRIDGE_API RunCommandParameters();
38 AWS_EVENTBRIDGE_API RunCommandParameters(Aws::Utils::Json::JsonView jsonValue);
40 AWS_EVENTBRIDGE_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 EventBridge
65} // namespace Aws
AWS_EVENTBRIDGE_API RunCommandParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
RunCommandParameters & AddRunCommandTargets(RunCommandTarget &&value)
AWS_EVENTBRIDGE_API RunCommandParameters(Aws::Utils::Json::JsonView jsonValue)
RunCommandParameters & WithRunCommandTargets(const Aws::Vector< RunCommandTarget > &value)
void SetRunCommandTargets(const Aws::Vector< RunCommandTarget > &value)
RunCommandParameters & WithRunCommandTargets(Aws::Vector< RunCommandTarget > &&value)
void SetRunCommandTargets(Aws::Vector< RunCommandTarget > &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RunCommandTarget > & GetRunCommandTargets() const
RunCommandParameters & AddRunCommandTargets(const RunCommandTarget &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue