AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
RecordingData.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/polly/Polly_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Polly {
21namespace Model {
22
34 public:
35 AWS_POLLY_API RecordingData() = default;
36 AWS_POLLY_API RecordingData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
46 inline const Aws::String& GetS3Url() const { return m_s3Url; }
47 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
48 template <typename S3UrlT = Aws::String>
49 void SetS3Url(S3UrlT&& value) {
50 m_s3UrlHasBeenSet = true;
51 m_s3Url = std::forward<S3UrlT>(value);
52 }
53 template <typename S3UrlT = Aws::String>
54 RecordingData& WithS3Url(S3UrlT&& value) {
55 SetS3Url(std::forward<S3UrlT>(value));
56 return *this;
57 }
59
61
67 inline const Aws::Utils::CryptoBuffer& GetBytes() const { return m_bytes; }
68 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
69 template <typename BytesT = Aws::Utils::CryptoBuffer>
70 void SetBytes(BytesT&& value) {
71 m_bytesHasBeenSet = true;
72 m_bytes = std::forward<BytesT>(value);
73 }
74 template <typename BytesT = Aws::Utils::CryptoBuffer>
75 RecordingData& WithBytes(BytesT&& value) {
76 SetBytes(std::forward<BytesT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_s3Url;
82
84 bool m_s3UrlHasBeenSet = false;
85 bool m_bytesHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Polly
90} // namespace Aws
void SetS3Url(S3UrlT &&value)
AWS_POLLY_API RecordingData()=default
const Aws::Utils::CryptoBuffer & GetBytes() const
AWS_POLLY_API RecordingData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBytes(BytesT &&value)
AWS_POLLY_API RecordingData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Url() const
RecordingData & WithS3Url(S3UrlT &&value)
RecordingData & WithBytes(BytesT &&value)
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue