AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Logs.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder
22{
23namespace Model
24{
25
31 class S3Logs
32 {
33 public:
34 AWS_IMAGEBUILDER_API S3Logs() = default;
35 AWS_IMAGEBUILDER_API S3Logs(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IMAGEBUILDER_API S3Logs& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
45 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
46 template<typename S3BucketNameT = Aws::String>
47 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
48 template<typename S3BucketNameT = Aws::String>
49 S3Logs& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
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) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value); }
60 template<typename S3KeyPrefixT = Aws::String>
61 S3Logs& WithS3KeyPrefix(S3KeyPrefixT&& value) { SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value)); return *this;}
63 private:
64
65 Aws::String m_s3BucketName;
66 bool m_s3BucketNameHasBeenSet = false;
67
68 Aws::String m_s3KeyPrefix;
69 bool m_s3KeyPrefixHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace imagebuilder
74} // 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:44
void SetS3KeyPrefix(S3KeyPrefixT &&value)
Definition S3Logs.h:59
void SetS3BucketName(S3BucketNameT &&value)
Definition S3Logs.h:47
S3Logs & WithS3KeyPrefix(S3KeyPrefixT &&value)
Definition S3Logs.h:61
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:45
const Aws::String & GetS3KeyPrefix() const
Definition S3Logs.h:56
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