AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoggingInfo.h
1
6#pragma once
7#include <aws/ssm/SSM_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 SSM
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_SSM_API LoggingInfo();
47
48
50
53 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
54 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
55 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
56 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
57 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
58 inline LoggingInfo& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
59 inline LoggingInfo& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
60 inline LoggingInfo& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
62
64
67 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
68 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
69 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
70 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
71 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
72 inline LoggingInfo& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
73 inline LoggingInfo& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
74 inline LoggingInfo& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
76
78
81 inline const Aws::String& GetS3Region() const{ return m_s3Region; }
82 inline bool S3RegionHasBeenSet() const { return m_s3RegionHasBeenSet; }
83 inline void SetS3Region(const Aws::String& value) { m_s3RegionHasBeenSet = true; m_s3Region = value; }
84 inline void SetS3Region(Aws::String&& value) { m_s3RegionHasBeenSet = true; m_s3Region = std::move(value); }
85 inline void SetS3Region(const char* value) { m_s3RegionHasBeenSet = true; m_s3Region.assign(value); }
86 inline LoggingInfo& WithS3Region(const Aws::String& value) { SetS3Region(value); return *this;}
87 inline LoggingInfo& WithS3Region(Aws::String&& value) { SetS3Region(std::move(value)); return *this;}
88 inline LoggingInfo& WithS3Region(const char* value) { SetS3Region(value); return *this;}
90 private:
91
92 Aws::String m_s3BucketName;
93 bool m_s3BucketNameHasBeenSet = false;
94
95 Aws::String m_s3KeyPrefix;
96 bool m_s3KeyPrefixHasBeenSet = false;
97
98 Aws::String m_s3Region;
99 bool m_s3RegionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SSM
104} // namespace Aws
LoggingInfo & WithS3KeyPrefix(Aws::String &&value)
Definition LoggingInfo.h:73
bool S3KeyPrefixHasBeenSet() const
Definition LoggingInfo.h:68
void SetS3Region(Aws::String &&value)
Definition LoggingInfo.h:84
const Aws::String & GetS3BucketName() const
Definition LoggingInfo.h:53
void SetS3KeyPrefix(const Aws::String &value)
Definition LoggingInfo.h:69
void SetS3KeyPrefix(Aws::String &&value)
Definition LoggingInfo.h:70
void SetS3BucketName(Aws::String &&value)
Definition LoggingInfo.h:56
LoggingInfo & WithS3Region(Aws::String &&value)
Definition LoggingInfo.h:87
AWS_SSM_API LoggingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool S3BucketNameHasBeenSet() const
Definition LoggingInfo.h:54
LoggingInfo & WithS3Region(const char *value)
Definition LoggingInfo.h:88
void SetS3KeyPrefix(const char *value)
Definition LoggingInfo.h:71
LoggingInfo & WithS3BucketName(const Aws::String &value)
Definition LoggingInfo.h:58
LoggingInfo & WithS3BucketName(const char *value)
Definition LoggingInfo.h:60
void SetS3Region(const char *value)
Definition LoggingInfo.h:85
LoggingInfo & WithS3KeyPrefix(const char *value)
Definition LoggingInfo.h:74
LoggingInfo & WithS3KeyPrefix(const Aws::String &value)
Definition LoggingInfo.h:72
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API LoggingInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Region() const
Definition LoggingInfo.h:81
void SetS3Region(const Aws::String &value)
Definition LoggingInfo.h:83
LoggingInfo & WithS3BucketName(Aws::String &&value)
Definition LoggingInfo.h:59
LoggingInfo & WithS3Region(const Aws::String &value)
Definition LoggingInfo.h:86
const Aws::String & GetS3KeyPrefix() const
Definition LoggingInfo.h:67
void SetS3BucketName(const char *value)
Definition LoggingInfo.h:57
void SetS3BucketName(const Aws::String &value)
Definition LoggingInfo.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue