AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
49 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
50 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
51 inline ReportDestination& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
52 inline ReportDestination& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
53 inline ReportDestination& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetS3Keys() const{ return m_s3Keys; }
61 inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; }
62 inline void SetS3Keys(const Aws::Vector<Aws::String>& value) { m_s3KeysHasBeenSet = true; m_s3Keys = value; }
63 inline void SetS3Keys(Aws::Vector<Aws::String>&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::move(value); }
64 inline ReportDestination& WithS3Keys(const Aws::Vector<Aws::String>& value) { SetS3Keys(value); return *this;}
65 inline ReportDestination& WithS3Keys(Aws::Vector<Aws::String>&& value) { SetS3Keys(std::move(value)); return *this;}
66 inline ReportDestination& AddS3Keys(const Aws::String& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; }
67 inline ReportDestination& AddS3Keys(Aws::String&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; }
68 inline ReportDestination& AddS3Keys(const char* value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; }
70 private:
71
72 Aws::String m_s3BucketName;
73 bool m_s3BucketNameHasBeenSet = false;
74
76 bool m_s3KeysHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Backup
81} // namespace Aws
void SetS3Keys(Aws::Vector< Aws::String > &&value)
ReportDestination & WithS3BucketName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetS3Keys() const
ReportDestination & AddS3Keys(const char *value)
ReportDestination & WithS3Keys(const Aws::Vector< Aws::String > &value)
void SetS3Keys(const Aws::Vector< Aws::String > &value)
void SetS3BucketName(const Aws::String &value)
AWS_BACKUP_API ReportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportDestination & AddS3Keys(const Aws::String &value)
ReportDestination & WithS3BucketName(const char *value)
ReportDestination & WithS3BucketName(const Aws::String &value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3BucketName() const
ReportDestination & AddS3Keys(Aws::String &&value)
void SetS3BucketName(Aws::String &&value)
AWS_BACKUP_API ReportDestination(Aws::Utils::Json::JsonView jsonValue)
ReportDestination & WithS3Keys(Aws::Vector< Aws::String > &&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