AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
SnapshotJobS3Result.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/SnapshotJobResultErrorInfo.h>
11#include <aws/quicksight/model/SnapshotS3DestinationConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
34 public:
35 AWS_QUICKSIGHT_API SnapshotJobS3Result() = default;
36 AWS_QUICKSIGHT_API SnapshotJobS3Result(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const SnapshotS3DestinationConfiguration& GetS3DestinationConfiguration() const { return m_s3DestinationConfiguration; }
46 inline bool S3DestinationConfigurationHasBeenSet() const { return m_s3DestinationConfigurationHasBeenSet; }
47 template <typename S3DestinationConfigurationT = SnapshotS3DestinationConfiguration>
48 void SetS3DestinationConfiguration(S3DestinationConfigurationT&& value) {
49 m_s3DestinationConfigurationHasBeenSet = true;
50 m_s3DestinationConfiguration = std::forward<S3DestinationConfigurationT>(value);
51 }
52 template <typename S3DestinationConfigurationT = SnapshotS3DestinationConfiguration>
53 SnapshotJobS3Result& WithS3DestinationConfiguration(S3DestinationConfigurationT&& value) {
54 SetS3DestinationConfiguration(std::forward<S3DestinationConfigurationT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
64 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
65 template <typename S3UriT = Aws::String>
66 void SetS3Uri(S3UriT&& value) {
67 m_s3UriHasBeenSet = true;
68 m_s3Uri = std::forward<S3UriT>(value);
69 }
70 template <typename S3UriT = Aws::String>
71 SnapshotJobS3Result& WithS3Uri(S3UriT&& value) {
72 SetS3Uri(std::forward<S3UriT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::Vector<SnapshotJobResultErrorInfo>& GetErrorInfo() const { return m_errorInfo; }
83 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
84 template <typename ErrorInfoT = Aws::Vector<SnapshotJobResultErrorInfo>>
85 void SetErrorInfo(ErrorInfoT&& value) {
86 m_errorInfoHasBeenSet = true;
87 m_errorInfo = std::forward<ErrorInfoT>(value);
88 }
89 template <typename ErrorInfoT = Aws::Vector<SnapshotJobResultErrorInfo>>
90 SnapshotJobS3Result& WithErrorInfo(ErrorInfoT&& value) {
91 SetErrorInfo(std::forward<ErrorInfoT>(value));
92 return *this;
93 }
94 template <typename ErrorInfoT = SnapshotJobResultErrorInfo>
95 SnapshotJobS3Result& AddErrorInfo(ErrorInfoT&& value) {
96 m_errorInfoHasBeenSet = true;
97 m_errorInfo.emplace_back(std::forward<ErrorInfoT>(value));
98 return *this;
99 }
101 private:
102 SnapshotS3DestinationConfiguration m_s3DestinationConfiguration;
103
104 Aws::String m_s3Uri;
105
107 bool m_s3DestinationConfigurationHasBeenSet = false;
108 bool m_s3UriHasBeenSet = false;
109 bool m_errorInfoHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
SnapshotJobS3Result & WithErrorInfo(ErrorInfoT &&value)
AWS_QUICKSIGHT_API SnapshotJobS3Result()=default
SnapshotJobS3Result & WithS3Uri(S3UriT &&value)
const SnapshotS3DestinationConfiguration & GetS3DestinationConfiguration() const
SnapshotJobS3Result & WithS3DestinationConfiguration(S3DestinationConfigurationT &&value)
AWS_QUICKSIGHT_API SnapshotJobS3Result(Aws::Utils::Json::JsonView jsonValue)
void SetS3DestinationConfiguration(S3DestinationConfigurationT &&value)
AWS_QUICKSIGHT_API SnapshotJobS3Result & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< SnapshotJobResultErrorInfo > & GetErrorInfo() const
SnapshotJobS3Result & AddErrorInfo(ErrorInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue