7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ReferenceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename ValueT = Aws::String>
62 m_valueHasBeenSet =
true;
63 m_value = std::forward<ValueT>(value);
65 template <
typename ValueT = Aws::String>
67 SetValue(std::forward<ValueT>(value));
79 m_statusHasBeenSet =
true;
94 template <
typename ArnT = Aws::String>
96 m_arnHasBeenSet =
true;
97 m_arn = std::forward<ArnT>(value);
99 template <
typename ArnT = Aws::String>
101 SetArn(std::forward<ArnT>(value));
113 bool m_nameHasBeenSet =
false;
114 bool m_valueHasBeenSet =
false;
115 bool m_statusHasBeenSet =
false;
116 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