AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3ExportConfiguration.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/DiskImageFormat.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 imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API S3ExportConfiguration();
37 AWS_IMAGEBUILDER_API S3ExportConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRoleName() const{ return m_roleName; }
48 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
49 inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
50 inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
51 inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
52 inline S3ExportConfiguration& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
53 inline S3ExportConfiguration& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
54 inline S3ExportConfiguration& WithRoleName(const char* value) { SetRoleName(value); return *this;}
56
58
66 inline const DiskImageFormat& GetDiskImageFormat() const{ return m_diskImageFormat; }
67 inline bool DiskImageFormatHasBeenSet() const { return m_diskImageFormatHasBeenSet; }
68 inline void SetDiskImageFormat(const DiskImageFormat& value) { m_diskImageFormatHasBeenSet = true; m_diskImageFormat = value; }
69 inline void SetDiskImageFormat(DiskImageFormat&& value) { m_diskImageFormatHasBeenSet = true; m_diskImageFormat = std::move(value); }
70 inline S3ExportConfiguration& WithDiskImageFormat(const DiskImageFormat& value) { SetDiskImageFormat(value); return *this;}
71 inline S3ExportConfiguration& WithDiskImageFormat(DiskImageFormat&& value) { SetDiskImageFormat(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
79 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
80 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
81 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
82 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
83 inline S3ExportConfiguration& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
84 inline S3ExportConfiguration& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
85 inline S3ExportConfiguration& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
87
89
93 inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
94 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
95 inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
96 inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
97 inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
98 inline S3ExportConfiguration& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
99 inline S3ExportConfiguration& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
100 inline S3ExportConfiguration& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
102 private:
103
104 Aws::String m_roleName;
105 bool m_roleNameHasBeenSet = false;
106
107 DiskImageFormat m_diskImageFormat;
108 bool m_diskImageFormatHasBeenSet = false;
109
110 Aws::String m_s3Bucket;
111 bool m_s3BucketHasBeenSet = false;
112
113 Aws::String m_s3Prefix;
114 bool m_s3PrefixHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace imagebuilder
119} // namespace Aws
S3ExportConfiguration & WithDiskImageFormat(const DiskImageFormat &value)
S3ExportConfiguration & WithRoleName(Aws::String &&value)
S3ExportConfiguration & WithS3Bucket(const char *value)
S3ExportConfiguration & WithRoleName(const char *value)
S3ExportConfiguration & WithS3Prefix(const Aws::String &value)
S3ExportConfiguration & WithS3Bucket(const Aws::String &value)
S3ExportConfiguration & WithS3Prefix(Aws::String &&value)
S3ExportConfiguration & WithS3Bucket(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
S3ExportConfiguration & WithS3Prefix(const char *value)
void SetDiskImageFormat(const DiskImageFormat &value)
S3ExportConfiguration & WithRoleName(const Aws::String &value)
AWS_IMAGEBUILDER_API S3ExportConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API S3ExportConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3ExportConfiguration & WithDiskImageFormat(DiskImageFormat &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue