7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/AttachmentHashType.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>
58 inline long long GetSize()
const {
return m_size; }
60 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
70 template<
typename HashT = Aws::String>
71 void SetHash(HashT&& value) { m_hashHasBeenSet =
true; m_hash = std::forward<HashT>(value); }
72 template<
typename HashT = Aws::String>
92 template<
typename UrlT = Aws::String>
93 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
94 template<
typename UrlT = Aws::String>
100 bool m_nameHasBeenSet =
false;
103 bool m_sizeHasBeenSet =
false;
106 bool m_hashHasBeenSet =
false;
109 bool m_hashTypeHasBeenSet =
false;
112 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