AWS SDK for C++

AWS SDK for C++ Version 1.11.902

Loading...
Searching...
No Matches
S3Logs.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
27class S3Logs {
28 public:
29 AWS_IMAGEBUILDER_API S3Logs() = default;
30 AWS_IMAGEBUILDER_API S3Logs(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IMAGEBUILDER_API S3Logs& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
42 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
43 template <typename S3BucketNameT = Aws::String>
44 void SetS3BucketName(S3BucketNameT&& value) {
45 m_s3BucketNameHasBeenSet = true;
46 m_s3BucketName = std::forward<S3BucketNameT>(value);
47 }
48 template <typename S3BucketNameT = Aws::String>
49 S3Logs& WithS3BucketName(S3BucketNameT&& value) {
50 SetS3BucketName(std::forward<S3BucketNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
61 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
62 template <typename S3KeyPrefixT = Aws::String>
63 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
64 m_s3KeyPrefixHasBeenSet = true;
65 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
66 }
67 template <typename S3KeyPrefixT = Aws::String>
68 S3Logs& WithS3KeyPrefix(S3KeyPrefixT&& value) {
69 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_s3BucketName;
75
76 Aws::String m_s3KeyPrefix;
77 bool m_s3BucketNameHasBeenSet = false;
78 bool m_s3KeyPrefixHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace imagebuilder
83} // namespace Aws
AWS_IMAGEBUILDER_API S3Logs()=default
AWS_IMAGEBUILDER_API S3Logs & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3BucketName() const
Definition S3Logs.h:41
void SetS3KeyPrefix(S3KeyPrefixT &&value)
Definition S3Logs.h:63
void SetS3BucketName(S3BucketNameT &&value)
Definition S3Logs.h:44
S3Logs & WithS3KeyPrefix(S3KeyPrefixT &&value)
Definition S3Logs.h:68
bool S3KeyPrefixHasBeenSet() const
Definition S3Logs.h:61
AWS_IMAGEBUILDER_API S3Logs(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool S3BucketNameHasBeenSet() const
Definition S3Logs.h:42
const Aws::String & GetS3KeyPrefix() const
Definition S3Logs.h:60
S3Logs & WithS3BucketName(S3BucketNameT &&value)
Definition S3Logs.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue