7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
20namespace EventBridge {
45 template <
typename KeyT = Aws::String>
47 m_keyHasBeenSet =
true;
48 m_key = std::forward<KeyT>(value);
50 template <
typename KeyT = Aws::String>
52 SetKey(std::forward<KeyT>(value));
65 template <
typename ValuesT = Aws::Vector<Aws::String>>
67 m_valuesHasBeenSet =
true;
68 m_values = std::forward<ValuesT>(value);
70 template <
typename ValuesT = Aws::Vector<Aws::String>>
75 template <
typename ValuesT = Aws::String>
77 m_valuesHasBeenSet =
true;
78 m_values.emplace_back(std::forward<ValuesT>(value));
86 bool m_keyHasBeenSet =
false;
87 bool m_valuesHasBeenSet =
false;
RunCommandTarget & WithKey(KeyT &&value)
bool ValuesHasBeenSet() const
bool KeyHasBeenSet() const
void SetValues(ValuesT &&value)
const Aws::String & GetKey() const
RunCommandTarget & AddValues(ValuesT &&value)
void SetKey(KeyT &&value)
AWS_EVENTBRIDGE_API RunCommandTarget()=default
AWS_EVENTBRIDGE_API RunCommandTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API RunCommandTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
RunCommandTarget & WithValues(ValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue