AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
IconImageInput.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WorkSpacesWeb {
21namespace Model {
22
31 public:
32 AWS_WORKSPACESWEB_API IconImageInput() = default;
33 AWS_WORKSPACESWEB_API IconImageInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WORKSPACESWEB_API IconImageInput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::ByteBuffer& GetBlob() const { return m_blob; }
42 inline bool BlobHasBeenSet() const { return m_blobHasBeenSet; }
43 template <typename BlobT = Aws::Utils::ByteBuffer>
44 void SetBlob(BlobT&& value) {
45 m_blobHasBeenSet = true;
46 m_blob = std::forward<BlobT>(value);
47 }
48 template <typename BlobT = Aws::Utils::ByteBuffer>
49 IconImageInput& WithBlob(BlobT&& value) {
50 SetBlob(std::forward<BlobT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
62 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
63 template <typename S3UriT = Aws::String>
64 void SetS3Uri(S3UriT&& value) {
65 m_s3UriHasBeenSet = true;
66 m_s3Uri = std::forward<S3UriT>(value);
67 }
68 template <typename S3UriT = Aws::String>
69 IconImageInput& WithS3Uri(S3UriT&& value) {
70 SetS3Uri(std::forward<S3UriT>(value));
71 return *this;
72 }
74 private:
76
77 Aws::String m_s3Uri;
78 bool m_blobHasBeenSet = false;
79 bool m_s3UriHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace WorkSpacesWeb
84} // namespace Aws
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKSPACESWEB_API IconImageInput(Aws::Utils::Json::JsonView jsonValue)
IconImageInput & WithBlob(BlobT &&value)
const Aws::String & GetS3Uri() const
const Aws::Utils::ByteBuffer & GetBlob() const
AWS_WORKSPACESWEB_API IconImageInput & operator=(Aws::Utils::Json::JsonView jsonValue)
IconImageInput & WithS3Uri(S3UriT &&value)
AWS_WORKSPACESWEB_API IconImageInput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue