AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
38 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
39 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
40 template <typename S3BucketNameT = Aws::String>
41 void SetS3BucketName(S3BucketNameT&& value) {
42 m_s3BucketNameHasBeenSet = true;
43 m_s3BucketName = std::forward<S3BucketNameT>(value);
44 }
45 template <typename S3BucketNameT = Aws::String>
46 S3Logs& WithS3BucketName(S3BucketNameT&& value) {
47 SetS3BucketName(std::forward<S3BucketNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
57 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
58 template <typename S3KeyPrefixT = Aws::String>
59 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
60 m_s3KeyPrefixHasBeenSet = true;
61 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
62 }
63 template <typename S3KeyPrefixT = Aws::String>
64 S3Logs& WithS3KeyPrefix(S3KeyPrefixT&& value) {
65 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_s3BucketName;
71
72 Aws::String m_s3KeyPrefix;
73 bool m_s3BucketNameHasBeenSet = false;
74 bool m_s3KeyPrefixHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace imagebuilder
79} // 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:38
void SetS3KeyPrefix(S3KeyPrefixT &&value)
Definition S3Logs.h:59
void SetS3BucketName(S3BucketNameT &&value)
Definition S3Logs.h:41
S3Logs & WithS3KeyPrefix(S3KeyPrefixT &&value)
Definition S3Logs.h:64
bool S3KeyPrefixHasBeenSet() const
Definition S3Logs.h:57
AWS_IMAGEBUILDER_API S3Logs(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool S3BucketNameHasBeenSet() const
Definition S3Logs.h:39
const Aws::String & GetS3KeyPrefix() const
Definition S3Logs.h:56
S3Logs & WithS3BucketName(S3BucketNameT &&value)
Definition S3Logs.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue