AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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