AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LoggingInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
37 public:
38 AWS_SSM_API LoggingInfo() = default;
42
44
47 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
48 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
49 template <typename S3BucketNameT = Aws::String>
50 void SetS3BucketName(S3BucketNameT&& value) {
51 m_s3BucketNameHasBeenSet = true;
52 m_s3BucketName = std::forward<S3BucketNameT>(value);
53 }
54 template <typename S3BucketNameT = Aws::String>
55 LoggingInfo& WithS3BucketName(S3BucketNameT&& value) {
56 SetS3BucketName(std::forward<S3BucketNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
66 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
67 template <typename S3KeyPrefixT = Aws::String>
68 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
69 m_s3KeyPrefixHasBeenSet = true;
70 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
71 }
72 template <typename S3KeyPrefixT = Aws::String>
73 LoggingInfo& WithS3KeyPrefix(S3KeyPrefixT&& value) {
74 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetS3Region() const { return m_s3Region; }
84 inline bool S3RegionHasBeenSet() const { return m_s3RegionHasBeenSet; }
85 template <typename S3RegionT = Aws::String>
86 void SetS3Region(S3RegionT&& value) {
87 m_s3RegionHasBeenSet = true;
88 m_s3Region = std::forward<S3RegionT>(value);
89 }
90 template <typename S3RegionT = Aws::String>
91 LoggingInfo& WithS3Region(S3RegionT&& value) {
92 SetS3Region(std::forward<S3RegionT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_s3BucketName;
98
99 Aws::String m_s3KeyPrefix;
100
101 Aws::String m_s3Region;
102 bool m_s3BucketNameHasBeenSet = false;
103 bool m_s3KeyPrefixHasBeenSet = false;
104 bool m_s3RegionHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace SSM
109} // namespace Aws
LoggingInfo & WithS3Region(S3RegionT &&value)
Definition LoggingInfo.h:91
bool S3KeyPrefixHasBeenSet() const
Definition LoggingInfo.h:66
const Aws::String & GetS3BucketName() const
Definition LoggingInfo.h:47
LoggingInfo & WithS3BucketName(S3BucketNameT &&value)
Definition LoggingInfo.h:55
AWS_SSM_API LoggingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool S3BucketNameHasBeenSet() const
Definition LoggingInfo.h:48
LoggingInfo & WithS3KeyPrefix(S3KeyPrefixT &&value)
Definition LoggingInfo.h:73
void SetS3KeyPrefix(S3KeyPrefixT &&value)
Definition LoggingInfo.h:68
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:83
void SetS3Region(S3RegionT &&value)
Definition LoggingInfo.h:86
void SetS3BucketName(S3BucketNameT &&value)
Definition LoggingInfo.h:50
const Aws::String & GetS3KeyPrefix() const
Definition LoggingInfo.h:65
AWS_SSM_API LoggingInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue