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>
50 template<
typename FileNameT = Aws::String>
51 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet =
true; m_fileName = std::forward<FileNameT>(value); }
52 template<
typename FileNameT = Aws::String>
63 inline void SetFileType(
int value) { m_fileTypeHasBeenSet =
true; m_fileType = value; }
73 template<
typename FileVersionT = Aws::String>
74 void SetFileVersion(FileVersionT&& value) { m_fileVersionHasBeenSet =
true; m_fileVersion = std::forward<FileVersionT>(value); }
75 template<
typename FileVersionT = Aws::String>
85 template<
typename FileLocationT = FileLocation>
86 void SetFileLocation(FileLocationT&& value) { m_fileLocationHasBeenSet =
true; m_fileLocation = std::forward<FileLocationT>(value); }
87 template<
typename FileLocationT = FileLocation>
97 template<
typename CodeSigningT = CodeSigning>
98 void SetCodeSigning(CodeSigningT&& value) { m_codeSigningHasBeenSet =
true; m_codeSigning = std::forward<CodeSigningT>(value); }
99 template<
typename CodeSigningT = CodeSigning>
110 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
111 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
112 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
114 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
116 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
122 bool m_fileNameHasBeenSet =
false;
125 bool m_fileTypeHasBeenSet =
false;
128 bool m_fileVersionHasBeenSet =
false;
130 FileLocation m_fileLocation;
131 bool m_fileLocationHasBeenSet =
false;
133 CodeSigning m_codeSigning;
134 bool m_codeSigningHasBeenSet =
false;
137 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