AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
47
48
50
53 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
54 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
55 template<typename S3BucketNameT = Aws::String>
56 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
57 template<typename S3BucketNameT = Aws::String>
58 LoggingInfo& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
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) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value); }
69 template<typename S3KeyPrefixT = Aws::String>
70 LoggingInfo& WithS3KeyPrefix(S3KeyPrefixT&& value) { SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value)); return *this;}
72
74
77 inline const Aws::String& GetS3Region() const { return m_s3Region; }
78 inline bool S3RegionHasBeenSet() const { return m_s3RegionHasBeenSet; }
79 template<typename S3RegionT = Aws::String>
80 void SetS3Region(S3RegionT&& value) { m_s3RegionHasBeenSet = true; m_s3Region = std::forward<S3RegionT>(value); }
81 template<typename S3RegionT = Aws::String>
82 LoggingInfo& WithS3Region(S3RegionT&& value) { SetS3Region(std::forward<S3RegionT>(value)); return *this;}
84 private:
85
86 Aws::String m_s3BucketName;
87 bool m_s3BucketNameHasBeenSet = false;
88
89 Aws::String m_s3KeyPrefix;
90 bool m_s3KeyPrefixHasBeenSet = false;
91
92 Aws::String m_s3Region;
93 bool m_s3RegionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SSM
98} // namespace Aws
LoggingInfo & WithS3Region(S3RegionT &&value)
Definition LoggingInfo.h:82
bool S3KeyPrefixHasBeenSet() const
Definition LoggingInfo.h:66
const Aws::String & GetS3BucketName() const
Definition LoggingInfo.h:53
LoggingInfo & WithS3BucketName(S3BucketNameT &&value)
Definition LoggingInfo.h:58
AWS_SSM_API LoggingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool S3BucketNameHasBeenSet() const
Definition LoggingInfo.h:54
LoggingInfo & WithS3KeyPrefix(S3KeyPrefixT &&value)
Definition LoggingInfo.h:70
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:77
void SetS3Region(S3RegionT &&value)
Definition LoggingInfo.h:80
void SetS3BucketName(S3BucketNameT &&value)
Definition LoggingInfo.h:56
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