AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const LogsConfigStatusType& GetStatus() const{ return m_status; }
51 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 inline void SetStatus(const LogsConfigStatusType& value) { m_statusHasBeenSet = true; m_status = value; }
53 inline void SetStatus(LogsConfigStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
54 inline S3LogsConfig& WithStatus(const LogsConfigStatusType& value) { SetStatus(value); return *this;}
55 inline S3LogsConfig& WithStatus(LogsConfigStatusType&& value) { SetStatus(std::move(value)); return *this;}
57
59
66 inline const Aws::String& GetLocation() const{ return m_location; }
67 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
68 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
69 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
70 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
71 inline S3LogsConfig& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
72 inline S3LogsConfig& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
73 inline S3LogsConfig& WithLocation(const char* value) { SetLocation(value); return *this;}
75
77
81 inline bool GetEncryptionDisabled() const{ return m_encryptionDisabled; }
82 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
83 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
84 inline S3LogsConfig& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;}
86
88
89 inline const BucketOwnerAccess& GetBucketOwnerAccess() const{ return m_bucketOwnerAccess; }
90 inline bool BucketOwnerAccessHasBeenSet() const { return m_bucketOwnerAccessHasBeenSet; }
91 inline void SetBucketOwnerAccess(const BucketOwnerAccess& value) { m_bucketOwnerAccessHasBeenSet = true; m_bucketOwnerAccess = value; }
92 inline void SetBucketOwnerAccess(BucketOwnerAccess&& value) { m_bucketOwnerAccessHasBeenSet = true; m_bucketOwnerAccess = std::move(value); }
93 inline S3LogsConfig& WithBucketOwnerAccess(const BucketOwnerAccess& value) { SetBucketOwnerAccess(value); return *this;}
94 inline S3LogsConfig& WithBucketOwnerAccess(BucketOwnerAccess&& value) { SetBucketOwnerAccess(std::move(value)); return *this;}
96 private:
97
98 LogsConfigStatusType m_status;
99 bool m_statusHasBeenSet = false;
100
101 Aws::String m_location;
102 bool m_locationHasBeenSet = false;
103
104 bool m_encryptionDisabled;
105 bool m_encryptionDisabledHasBeenSet = false;
106
107 BucketOwnerAccess m_bucketOwnerAccess;
108 bool m_bucketOwnerAccessHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CodeBuild
113} // namespace Aws
const Aws::String & GetLocation() const
S3LogsConfig & WithLocation(Aws::String &&value)
void SetBucketOwnerAccess(const BucketOwnerAccess &value)
AWS_CODEBUILD_API S3LogsConfig(Aws::Utils::Json::JsonView jsonValue)
void SetBucketOwnerAccess(BucketOwnerAccess &&value)
S3LogsConfig & WithBucketOwnerAccess(const BucketOwnerAccess &value)
S3LogsConfig & WithStatus(const LogsConfigStatusType &value)
S3LogsConfig & WithBucketOwnerAccess(BucketOwnerAccess &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
S3LogsConfig & WithLocation(const Aws::String &value)
void SetStatus(LogsConfigStatusType &&value)
S3LogsConfig & WithEncryptionDisabled(bool value)
void SetLocation(const Aws::String &value)
AWS_CODEBUILD_API S3LogsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3LogsConfig & WithStatus(LogsConfigStatusType &&value)
const BucketOwnerAccess & GetBucketOwnerAccess() const
void SetLocation(const char *value)
S3LogsConfig & WithLocation(const char *value)
const LogsConfigStatusType & GetStatus() const
void SetLocation(Aws::String &&value)
void SetStatus(const LogsConfigStatusType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue