7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ReferenceStatus.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
62 template<
typename ValueT = Aws::String>
82 template<
typename ArnT = Aws::String>
83 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
84 template<
typename ArnT = Aws::String>
90 bool m_nameHasBeenSet =
false;
93 bool m_valueHasBeenSet =
false;
96 bool m_statusHasBeenSet =
false;
99 bool m_arnHasBeenSet =
false;
void SetValue(ValueT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API AttachmentReference()=default
AttachmentReference & WithStatus(ReferenceStatus value)
void SetArn(ArnT &&value)
AttachmentReference & WithValue(ValueT &&value)
AWS_CONNECT_API AttachmentReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AttachmentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::String & GetValue() const
AttachmentReference & WithArn(ArnT &&value)
bool StatusHasBeenSet() const
bool NameHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetArn() const
void SetStatus(ReferenceStatus value)
bool ValueHasBeenSet() const
ReferenceStatus GetStatus() const
AttachmentReference & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue