AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnapshotJobS3Result.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SnapshotS3DestinationConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/SnapshotJobResultErrorInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_QUICKSIGHT_API SnapshotJobS3Result() = default;
41 AWS_QUICKSIGHT_API SnapshotJobS3Result(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const SnapshotS3DestinationConfiguration& GetS3DestinationConfiguration() const { return m_s3DestinationConfiguration; }
52 inline bool S3DestinationConfigurationHasBeenSet() const { return m_s3DestinationConfigurationHasBeenSet; }
53 template<typename S3DestinationConfigurationT = SnapshotS3DestinationConfiguration>
54 void SetS3DestinationConfiguration(S3DestinationConfigurationT&& value) { m_s3DestinationConfigurationHasBeenSet = true; m_s3DestinationConfiguration = std::forward<S3DestinationConfigurationT>(value); }
55 template<typename S3DestinationConfigurationT = SnapshotS3DestinationConfiguration>
56 SnapshotJobS3Result& WithS3DestinationConfiguration(S3DestinationConfigurationT&& value) { SetS3DestinationConfiguration(std::forward<S3DestinationConfigurationT>(value)); return *this;}
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) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
67 template<typename S3UriT = Aws::String>
68 SnapshotJobS3Result& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
70
72
76 inline const Aws::Vector<SnapshotJobResultErrorInfo>& GetErrorInfo() const { return m_errorInfo; }
77 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
78 template<typename ErrorInfoT = Aws::Vector<SnapshotJobResultErrorInfo>>
79 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::forward<ErrorInfoT>(value); }
80 template<typename ErrorInfoT = Aws::Vector<SnapshotJobResultErrorInfo>>
81 SnapshotJobS3Result& WithErrorInfo(ErrorInfoT&& value) { SetErrorInfo(std::forward<ErrorInfoT>(value)); return *this;}
82 template<typename ErrorInfoT = SnapshotJobResultErrorInfo>
83 SnapshotJobS3Result& AddErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet = true; m_errorInfo.emplace_back(std::forward<ErrorInfoT>(value)); return *this; }
85 private:
86
87 SnapshotS3DestinationConfiguration m_s3DestinationConfiguration;
88 bool m_s3DestinationConfigurationHasBeenSet = false;
89
90 Aws::String m_s3Uri;
91 bool m_s3UriHasBeenSet = false;
92
94 bool m_errorInfoHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QuickSight
99} // 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