AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LogConfiguration.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/LogDestination.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GameLift
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_GAMELIFT_API LogConfiguration() = default;
38 AWS_GAMELIFT_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline LogDestination GetLogDestination() const { return m_logDestination; }
54 inline bool LogDestinationHasBeenSet() const { return m_logDestinationHasBeenSet; }
55 inline void SetLogDestination(LogDestination value) { m_logDestinationHasBeenSet = true; m_logDestination = value; }
58
60
64 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
65 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
66 template<typename S3BucketNameT = Aws::String>
67 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
68 template<typename S3BucketNameT = Aws::String>
69 LogConfiguration& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
71
73
77 inline const Aws::String& GetLogGroupArn() const { return m_logGroupArn; }
78 inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; }
79 template<typename LogGroupArnT = Aws::String>
80 void SetLogGroupArn(LogGroupArnT&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::forward<LogGroupArnT>(value); }
81 template<typename LogGroupArnT = Aws::String>
82 LogConfiguration& WithLogGroupArn(LogGroupArnT&& value) { SetLogGroupArn(std::forward<LogGroupArnT>(value)); return *this;}
84 private:
85
87 bool m_logDestinationHasBeenSet = false;
88
89 Aws::String m_s3BucketName;
90 bool m_s3BucketNameHasBeenSet = false;
91
92 Aws::String m_logGroupArn;
93 bool m_logGroupArnHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GameLift
98} // namespace Aws
LogConfiguration & WithLogGroupArn(LogGroupArnT &&value)
void SetS3BucketName(S3BucketNameT &&value)
const Aws::String & GetS3BucketName() const
void SetLogDestination(LogDestination value)
AWS_GAMELIFT_API LogConfiguration()=default
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
LogConfiguration & WithS3BucketName(S3BucketNameT &&value)
AWS_GAMELIFT_API LogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetLogGroupArn(LogGroupArnT &&value)
const Aws::String & GetLogGroupArn() const
LogConfiguration & WithLogDestination(LogDestination value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue