AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReportDestination.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Backup
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BACKUP_API ReportDestination() = default;
39 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
47 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
48 template<typename S3BucketNameT = Aws::String>
49 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
50 template<typename S3BucketNameT = Aws::String>
51 ReportDestination& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetS3Keys() const { return m_s3Keys; }
59 inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; }
60 template<typename S3KeysT = Aws::Vector<Aws::String>>
61 void SetS3Keys(S3KeysT&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::forward<S3KeysT>(value); }
62 template<typename S3KeysT = Aws::Vector<Aws::String>>
63 ReportDestination& WithS3Keys(S3KeysT&& value) { SetS3Keys(std::forward<S3KeysT>(value)); return *this;}
64 template<typename S3KeysT = Aws::String>
65 ReportDestination& AddS3Keys(S3KeysT&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.emplace_back(std::forward<S3KeysT>(value)); return *this; }
67 private:
68
69 Aws::String m_s3BucketName;
70 bool m_s3BucketNameHasBeenSet = false;
71
73 bool m_s3KeysHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Backup
78} // namespace Aws
ReportDestination & WithS3BucketName(S3BucketNameT &&value)
const Aws::Vector< Aws::String > & GetS3Keys() const
ReportDestination & WithS3Keys(S3KeysT &&value)
AWS_BACKUP_API ReportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API ReportDestination()=default
ReportDestination & AddS3Keys(S3KeysT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3BucketName() const
AWS_BACKUP_API ReportDestination(Aws::Utils::Json::JsonView jsonValue)
void SetS3BucketName(S3BucketNameT &&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