AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SigningImageFormat.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/signer/model/ImageFormat.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace signer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SIGNER_API SigningImageFormat();
39 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ImageFormat>& GetSupportedFormats() const{ return m_supportedFormats; }
47 inline bool SupportedFormatsHasBeenSet() const { return m_supportedFormatsHasBeenSet; }
48 inline void SetSupportedFormats(const Aws::Vector<ImageFormat>& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats = value; }
49 inline void SetSupportedFormats(Aws::Vector<ImageFormat>&& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats = std::move(value); }
51 inline SigningImageFormat& WithSupportedFormats(Aws::Vector<ImageFormat>&& value) { SetSupportedFormats(std::move(value)); return *this;}
52 inline SigningImageFormat& AddSupportedFormats(const ImageFormat& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats.push_back(value); return *this; }
53 inline SigningImageFormat& AddSupportedFormats(ImageFormat&& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats.push_back(std::move(value)); return *this; }
55
57
60 inline const ImageFormat& GetDefaultFormat() const{ return m_defaultFormat; }
61 inline bool DefaultFormatHasBeenSet() const { return m_defaultFormatHasBeenSet; }
62 inline void SetDefaultFormat(const ImageFormat& value) { m_defaultFormatHasBeenSet = true; m_defaultFormat = value; }
63 inline void SetDefaultFormat(ImageFormat&& value) { m_defaultFormatHasBeenSet = true; m_defaultFormat = std::move(value); }
64 inline SigningImageFormat& WithDefaultFormat(const ImageFormat& value) { SetDefaultFormat(value); return *this;}
65 inline SigningImageFormat& WithDefaultFormat(ImageFormat&& value) { SetDefaultFormat(std::move(value)); return *this;}
67 private:
68
69 Aws::Vector<ImageFormat> m_supportedFormats;
70 bool m_supportedFormatsHasBeenSet = false;
71
72 ImageFormat m_defaultFormat;
73 bool m_defaultFormatHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace signer
78} // namespace Aws
SigningImageFormat & WithSupportedFormats(const Aws::Vector< ImageFormat > &value)
AWS_SIGNER_API SigningImageFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
SigningImageFormat & WithDefaultFormat(ImageFormat &&value)
void SetDefaultFormat(ImageFormat &&value)
SigningImageFormat & AddSupportedFormats(ImageFormat &&value)
SigningImageFormat & WithSupportedFormats(Aws::Vector< ImageFormat > &&value)
SigningImageFormat & WithDefaultFormat(const ImageFormat &value)
void SetDefaultFormat(const ImageFormat &value)
const Aws::Vector< ImageFormat > & GetSupportedFormats() const
AWS_SIGNER_API SigningImageFormat(Aws::Utils::Json::JsonView jsonValue)
SigningImageFormat & AddSupportedFormats(const ImageFormat &value)
void SetSupportedFormats(Aws::Vector< ImageFormat > &&value)
const ImageFormat & GetDefaultFormat() const
void SetSupportedFormats(const Aws::Vector< ImageFormat > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue