AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3DestinationConfiguration(const SnapshotS3DestinationConfiguration& value) { m_s3DestinationConfigurationHasBeenSet = true; m_s3DestinationConfiguration = value; }
54 inline void SetS3DestinationConfiguration(SnapshotS3DestinationConfiguration&& value) { m_s3DestinationConfigurationHasBeenSet = true; m_s3DestinationConfiguration = std::move(value); }
58
60
63 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
64 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
65 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
66 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
67 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
68 inline SnapshotJobS3Result& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
69 inline SnapshotJobS3Result& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
70 inline SnapshotJobS3Result& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
72
74
78 inline const Aws::Vector<SnapshotJobResultErrorInfo>& GetErrorInfo() const{ return m_errorInfo; }
79 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
80 inline void SetErrorInfo(const Aws::Vector<SnapshotJobResultErrorInfo>& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
81 inline void SetErrorInfo(Aws::Vector<SnapshotJobResultErrorInfo>&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
84 inline SnapshotJobS3Result& AddErrorInfo(const SnapshotJobResultErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo.push_back(value); return *this; }
85 inline SnapshotJobS3Result& AddErrorInfo(SnapshotJobResultErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo.push_back(std::move(value)); return *this; }
87 private:
88
89 SnapshotS3DestinationConfiguration m_s3DestinationConfiguration;
90 bool m_s3DestinationConfigurationHasBeenSet = false;
91
92 Aws::String m_s3Uri;
93 bool m_s3UriHasBeenSet = false;
94
96 bool m_errorInfoHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
SnapshotJobS3Result & WithS3DestinationConfiguration(const SnapshotS3DestinationConfiguration &value)
void SetS3DestinationConfiguration(const SnapshotS3DestinationConfiguration &value)
SnapshotJobS3Result & WithS3DestinationConfiguration(SnapshotS3DestinationConfiguration &&value)
SnapshotJobS3Result & WithErrorInfo(Aws::Vector< SnapshotJobResultErrorInfo > &&value)
void SetErrorInfo(Aws::Vector< SnapshotJobResultErrorInfo > &&value)
SnapshotJobS3Result & WithS3Uri(const char *value)
SnapshotJobS3Result & AddErrorInfo(SnapshotJobResultErrorInfo &&value)
const SnapshotS3DestinationConfiguration & GetS3DestinationConfiguration() const
AWS_QUICKSIGHT_API SnapshotJobS3Result(Aws::Utils::Json::JsonView jsonValue)
SnapshotJobS3Result & AddErrorInfo(const SnapshotJobResultErrorInfo &value)
void SetErrorInfo(const Aws::Vector< SnapshotJobResultErrorInfo > &value)
AWS_QUICKSIGHT_API SnapshotJobS3Result & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotJobS3Result & WithS3Uri(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< SnapshotJobResultErrorInfo > & GetErrorInfo() const
SnapshotJobS3Result & WithErrorInfo(const Aws::Vector< SnapshotJobResultErrorInfo > &value)
SnapshotJobS3Result & WithS3Uri(Aws::String &&value)
void SetS3DestinationConfiguration(SnapshotS3DestinationConfiguration &&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