7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/AttachmentsSourceKey.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
76 template<
typename ValuesT = Aws::Vector<Aws::String>>
77 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
78 template<
typename ValuesT = Aws::Vector<Aws::String>>
80 template<
typename ValuesT = Aws::String>
81 AttachmentsSource&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
90 template<
typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
92 template<
typename NameT = Aws::String>
98 bool m_keyHasBeenSet =
false;
101 bool m_valuesHasBeenSet =
false;
104 bool m_nameHasBeenSet =
false;
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool KeyHasBeenSet() const
AttachmentsSource & WithName(NameT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuesHasBeenSet() const
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetValues() const
AttachmentsSource & AddValues(ValuesT &&value)
void SetValues(ValuesT &&value)
AttachmentsSource & WithValues(ValuesT &&value)
AWS_SSM_API AttachmentsSource()=default
AWS_SSM_API AttachmentsSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AttachmentsSource & WithKey(AttachmentsSourceKey value)
AttachmentsSourceKey GetKey() const
void SetKey(AttachmentsSourceKey value)
AWS_SSM_API AttachmentsSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue