7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/AttachmentHashType.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
60 inline long long GetSize()
const{
return m_size; }
62 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
74 inline void SetHash(
const char* value) { m_hashHasBeenSet =
true; m_hash.assign(value); }
99 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
100 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
108 bool m_nameHasBeenSet =
false;
111 bool m_sizeHasBeenSet =
false;
114 bool m_hashHasBeenSet =
false;
117 bool m_hashTypeHasBeenSet =
false;
120 bool m_urlHasBeenSet =
false;
long long GetSize() const
bool HashHasBeenSet() const
void SetHashType(const AttachmentHashType &value)
void SetHash(const Aws::String &value)
AttachmentContent & WithHashType(AttachmentHashType &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API AttachmentContent(Aws::Utils::Json::JsonView jsonValue)
void SetHash(const char *value)
AWS_SSM_API AttachmentContent()
void SetHashType(AttachmentHashType &&value)
AttachmentContent & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
AttachmentContent & WithHashType(const AttachmentHashType &value)
AttachmentContent & WithHash(const Aws::String &value)
void SetUrl(const Aws::String &value)
void SetUrl(const char *value)
bool SizeHasBeenSet() const
AttachmentContent & WithSize(long long value)
bool NameHasBeenSet() const
bool UrlHasBeenSet() const
bool HashTypeHasBeenSet() const
void SetName(const char *value)
AttachmentContent & WithUrl(const Aws::String &value)
const Aws::String & GetHash() const
void SetName(const Aws::String &value)
AWS_SSM_API AttachmentContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AttachmentContent & WithUrl(const char *value)
void SetUrl(Aws::String &&value)
void SetSize(long long value)
void SetHash(Aws::String &&value)
const Aws::String & GetUrl() const
const AttachmentHashType & GetHashType() const
AttachmentContent & WithUrl(Aws::String &&value)
AttachmentContent & WithName(Aws::String &&value)
AttachmentContent & WithHash(Aws::String &&value)
AttachmentContent & WithHash(const char *value)
AttachmentContent & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue