AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RoleNameT = Aws::String>
50 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet = true; m_roleName = std::forward<RoleNameT>(value); }
51 template<typename RoleNameT = Aws::String>
52 S3ExportConfiguration& WithRoleName(RoleNameT&& value) { SetRoleName(std::forward<RoleNameT>(value)); return *this;}
54
56
64 inline DiskImageFormat GetDiskImageFormat() const { return m_diskImageFormat; }
65 inline bool DiskImageFormatHasBeenSet() const { return m_diskImageFormatHasBeenSet; }
66 inline void SetDiskImageFormat(DiskImageFormat value) { m_diskImageFormatHasBeenSet = true; m_diskImageFormat = value; }
69
71
74 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
75 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
76 template<typename S3BucketT = Aws::String>
77 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
78 template<typename S3BucketT = Aws::String>
79 S3ExportConfiguration& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
81
83
87 inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; }
88 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
89 template<typename S3PrefixT = Aws::String>
90 void SetS3Prefix(S3PrefixT&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::forward<S3PrefixT>(value); }
91 template<typename S3PrefixT = Aws::String>
92 S3ExportConfiguration& WithS3Prefix(S3PrefixT&& value) { SetS3Prefix(std::forward<S3PrefixT>(value)); return *this;}
94 private:
95
96 Aws::String m_roleName;
97 bool m_roleNameHasBeenSet = false;
98
100 bool m_diskImageFormatHasBeenSet = false;
101
102 Aws::String m_s3Bucket;
103 bool m_s3BucketHasBeenSet = false;
104
105 Aws::String m_s3Prefix;
106 bool m_s3PrefixHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace imagebuilder
111} // namespace Aws
S3ExportConfiguration & WithRoleName(RoleNameT &&value)
S3ExportConfiguration & WithDiskImageFormat(DiskImageFormat value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
S3ExportConfiguration & WithS3Prefix(S3PrefixT &&value)
AWS_IMAGEBUILDER_API S3ExportConfiguration()=default
AWS_IMAGEBUILDER_API S3ExportConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API S3ExportConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3ExportConfiguration & WithS3Bucket(S3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue