7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/CodeSigning.h>
11#include <aws/iot/model/FileLocation.h>
44 template <
typename FileNameT = Aws::String>
46 m_fileNameHasBeenSet =
true;
47 m_fileName = std::forward<FileNameT>(value);
49 template <
typename FileNameT = Aws::String>
64 m_fileTypeHasBeenSet =
true;
79 template <
typename FileVersionT = Aws::String>
81 m_fileVersionHasBeenSet =
true;
82 m_fileVersion = std::forward<FileVersionT>(value);
84 template <
typename FileVersionT = Aws::String>
97 template <
typename FileLocationT = FileLocation>
99 m_fileLocationHasBeenSet =
true;
100 m_fileLocation = std::forward<FileLocationT>(value);
102 template <
typename FileLocationT = FileLocation>
115 template <
typename CodeSigningT = CodeSigning>
117 m_codeSigningHasBeenSet =
true;
118 m_codeSigning = std::forward<CodeSigningT>(value);
120 template <
typename CodeSigningT = CodeSigning>
134 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
136 m_attributesHasBeenSet =
true;
137 m_attributes = std::forward<AttributesT>(value);
139 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
144 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
146 m_attributesHasBeenSet =
true;
147 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
158 FileLocation m_fileLocation;
160 CodeSigning m_codeSigning;
163 bool m_fileNameHasBeenSet =
false;
164 bool m_fileTypeHasBeenSet =
false;
165 bool m_fileVersionHasBeenSet =
false;
166 bool m_fileLocationHasBeenSet =
false;
167 bool m_codeSigningHasBeenSet =
false;
168 bool m_attributesHasBeenSet =
false;
AWS_IOT_API OTAUpdateFile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API OTAUpdateFile()=default
bool FileTypeHasBeenSet() const
const Aws::String & GetFileVersion() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFileName() const
void SetFileName(FileNameT &&value)
OTAUpdateFile & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_IOT_API OTAUpdateFile(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateFile & WithFileType(int value)
OTAUpdateFile & WithFileVersion(FileVersionT &&value)
OTAUpdateFile & WithAttributes(AttributesT &&value)
OTAUpdateFile & WithFileLocation(FileLocationT &&value)
bool FileVersionHasBeenSet() const
const FileLocation & GetFileLocation() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetFileType(int value)
OTAUpdateFile & WithCodeSigning(CodeSigningT &&value)
bool AttributesHasBeenSet() const
bool FileLocationHasBeenSet() const
const CodeSigning & GetCodeSigning() const
bool FileNameHasBeenSet() const
void SetAttributes(AttributesT &&value)
void SetFileLocation(FileLocationT &&value)
void SetFileVersion(FileVersionT &&value)
void SetCodeSigning(CodeSigningT &&value)
bool CodeSigningHasBeenSet() const
OTAUpdateFile & WithFileName(FileNameT &&value)
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