7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9#include <aws/ssm/model/AttachmentHashType.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));
58 inline long long GetSize()
const {
return m_size; }
61 m_sizeHasBeenSet =
true;
76 template <
typename HashT = Aws::String>
78 m_hashHasBeenSet =
true;
79 m_hash = std::forward<HashT>(value);
81 template <
typename HashT = Aws::String>
83 SetHash(std::forward<HashT>(value));
95 m_hashTypeHasBeenSet =
true;
110 template <
typename UrlT = Aws::String>
112 m_urlHasBeenSet =
true;
113 m_url = std::forward<UrlT>(value);
115 template <
typename UrlT = Aws::String>
117 SetUrl(std::forward<UrlT>(value));
131 bool m_nameHasBeenSet =
false;
132 bool m_sizeHasBeenSet =
false;
133 bool m_hashHasBeenSet =
false;
134 bool m_hashTypeHasBeenSet =
false;
135 bool m_urlHasBeenSet =
false;
long long GetSize() const
bool HashHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API AttachmentContent(Aws::Utils::Json::JsonView jsonValue)
void SetHash(HashT &&value)
AttachmentContent & WithUrl(UrlT &&value)
const Aws::String & GetName() const
void SetHashType(AttachmentHashType value)
bool SizeHasBeenSet() const
AttachmentContent & WithSize(long long value)
AWS_SSM_API AttachmentContent()=default
bool NameHasBeenSet() const
AttachmentHashType GetHashType() const
bool UrlHasBeenSet() const
bool HashTypeHasBeenSet() const
AttachmentContent & WithHashType(AttachmentHashType value)
const Aws::String & GetHash() const
AWS_SSM_API AttachmentContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AttachmentContent & WithName(NameT &&value)
void SetSize(long long value)
AttachmentContent & WithHash(HashT &&value)
const Aws::String & GetUrl() const
void SetName(NameT &&value)
void SetUrl(UrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue