AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
S3RepositoryDetails.h
Go to the documentation of this file.
1
6#pragma once
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 CodeGuruReviewer
23{
24namespace Model
25{
26
36 {
37 public:
42
43
48 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
49
54 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
55
60 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
61
66 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
67
72 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
73
78 inline S3RepositoryDetails& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
79
84 inline S3RepositoryDetails& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
85
90 inline S3RepositoryDetails& WithBucketName(const char* value) { SetBucketName(value); return *this;}
91
92
98 inline const CodeArtifacts& GetCodeArtifacts() const{ return m_codeArtifacts; }
99
105 inline bool CodeArtifactsHasBeenSet() const { return m_codeArtifactsHasBeenSet; }
106
112 inline void SetCodeArtifacts(const CodeArtifacts& value) { m_codeArtifactsHasBeenSet = true; m_codeArtifacts = value; }
113
119 inline void SetCodeArtifacts(CodeArtifacts&& value) { m_codeArtifactsHasBeenSet = true; m_codeArtifacts = std::move(value); }
120
126 inline S3RepositoryDetails& WithCodeArtifacts(const CodeArtifacts& value) { SetCodeArtifacts(value); return *this;}
127
133 inline S3RepositoryDetails& WithCodeArtifacts(CodeArtifacts&& value) { SetCodeArtifacts(std::move(value)); return *this;}
134
135 private:
136
137 Aws::String m_bucketName;
138 bool m_bucketNameHasBeenSet = false;
139
140 CodeArtifacts m_codeArtifacts;
141 bool m_codeArtifactsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace CodeGuruReviewer
146} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
S3RepositoryDetails & WithBucketName(Aws::String &&value)
AWS_CODEGURUREVIEWER_API S3RepositoryDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API S3RepositoryDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
S3RepositoryDetails & WithCodeArtifacts(CodeArtifacts &&value)
S3RepositoryDetails & WithCodeArtifacts(const CodeArtifacts &value)
S3RepositoryDetails & WithBucketName(const char *value)
S3RepositoryDetails & WithBucketName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String