AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3LogsConfig.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/LogsConfigStatusType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/BucketOwnerAccess.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodeBuild
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CODEBUILD_API S3LogsConfig() = default;
38 AWS_CODEBUILD_API S3LogsConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEBUILD_API S3LogsConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline LogsConfigStatusType GetStatus() const { return m_status; }
51 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 inline void SetStatus(LogsConfigStatusType value) { m_statusHasBeenSet = true; m_status = value; }
53 inline S3LogsConfig& WithStatus(LogsConfigStatusType value) { SetStatus(value); return *this;}
55
57
64 inline const Aws::String& GetLocation() const { return m_location; }
65 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
66 template<typename LocationT = Aws::String>
67 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
68 template<typename LocationT = Aws::String>
69 S3LogsConfig& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
71
73
77 inline bool GetEncryptionDisabled() const { return m_encryptionDisabled; }
78 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
79 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
80 inline S3LogsConfig& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;}
82
84
85 inline BucketOwnerAccess GetBucketOwnerAccess() const { return m_bucketOwnerAccess; }
86 inline bool BucketOwnerAccessHasBeenSet() const { return m_bucketOwnerAccessHasBeenSet; }
87 inline void SetBucketOwnerAccess(BucketOwnerAccess value) { m_bucketOwnerAccessHasBeenSet = true; m_bucketOwnerAccess = value; }
90 private:
91
93 bool m_statusHasBeenSet = false;
94
95 Aws::String m_location;
96 bool m_locationHasBeenSet = false;
97
98 bool m_encryptionDisabled{false};
99 bool m_encryptionDisabledHasBeenSet = false;
100
102 bool m_bucketOwnerAccessHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CodeBuild
107} // namespace Aws
const Aws::String & GetLocation() const
S3LogsConfig & WithLocation(LocationT &&value)
AWS_CODEBUILD_API S3LogsConfig(Aws::Utils::Json::JsonView jsonValue)
S3LogsConfig & WithBucketOwnerAccess(BucketOwnerAccess value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
S3LogsConfig & WithEncryptionDisabled(bool value)
S3LogsConfig & WithStatus(LogsConfigStatusType value)
AWS_CODEBUILD_API S3LogsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(LogsConfigStatusType value)
AWS_CODEBUILD_API S3LogsConfig()=default
BucketOwnerAccess GetBucketOwnerAccess() const
void SetBucketOwnerAccess(BucketOwnerAccess value)
LogsConfigStatusType GetStatus() const
void SetLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue