7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/FileLocation.h>
10#include <aws/iot/model/CodeSigning.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
52 inline void SetFileName(
const char* value) { m_fileNameHasBeenSet =
true; m_fileName.assign(value); }
65 inline void SetFileType(
int value) { m_fileTypeHasBeenSet =
true; m_fileType = value; }
77 inline void SetFileVersion(
const char* value) { m_fileVersionHasBeenSet =
true; m_fileVersion.assign(value); }
124 inline OTAUpdateFile&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
129 bool m_fileNameHasBeenSet =
false;
132 bool m_fileTypeHasBeenSet =
false;
135 bool m_fileVersionHasBeenSet =
false;
138 bool m_fileLocationHasBeenSet =
false;
141 bool m_codeSigningHasBeenSet =
false;
144 bool m_attributesHasBeenSet =
false;
OTAUpdateFile & WithFileName(Aws::String &&value)
AWS_IOT_API OTAUpdateFile & operator=(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateFile & AddAttributes(Aws::String &&key, const Aws::String &value)
OTAUpdateFile & WithFileLocation(const FileLocation &value)
bool FileTypeHasBeenSet() const
void SetFileName(const char *value)
OTAUpdateFile & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetFileVersion() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFileName() const
OTAUpdateFile & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
OTAUpdateFile & WithCodeSigning(CodeSigning &&value)
OTAUpdateFile & WithFileName(const Aws::String &value)
AWS_IOT_API OTAUpdateFile()
OTAUpdateFile & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetFileVersion(const char *value)
OTAUpdateFile & AddAttributes(const Aws::String &key, Aws::String &&value)
AWS_IOT_API OTAUpdateFile(Aws::Utils::Json::JsonView jsonValue)
void SetFileLocation(FileLocation &&value)
OTAUpdateFile & WithFileType(int value)
void SetCodeSigning(const CodeSigning &value)
OTAUpdateFile & WithFileVersion(Aws::String &&value)
OTAUpdateFile & WithFileLocation(FileLocation &&value)
void SetFileName(Aws::String &&value)
void SetFileVersion(Aws::String &&value)
OTAUpdateFile & AddAttributes(const char *key, const char *value)
bool FileVersionHasBeenSet() const
void SetFileLocation(const FileLocation &value)
const FileLocation & GetFileLocation() const
OTAUpdateFile & WithCodeSigning(const CodeSigning &value)
OTAUpdateFile & AddAttributes(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetFileType(int value)
bool AttributesHasBeenSet() const
void SetCodeSigning(CodeSigning &&value)
void SetFileVersion(const Aws::String &value)
OTAUpdateFile & AddAttributes(const char *key, Aws::String &&value)
OTAUpdateFile & WithFileName(const char *value)
bool FileLocationHasBeenSet() const
const CodeSigning & GetCodeSigning() const
OTAUpdateFile & AddAttributes(Aws::String &&key, const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool FileNameHasBeenSet() const
OTAUpdateFile & WithFileVersion(const Aws::String &value)
OTAUpdateFile & WithFileVersion(const char *value)
void SetFileName(const Aws::String &value)
bool CodeSigningHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue