AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3RepositoryDetails.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeguru-reviewer/model/CodeArtifacts.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 CodeGuruReviewer
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CODEGURUREVIEWER_API S3RepositoryDetails();
39 AWS_CODEGURUREVIEWER_API S3RepositoryDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEGURUREVIEWER_API S3RepositoryDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
50 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
51 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
52 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
53 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
54 inline S3RepositoryDetails& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
55 inline S3RepositoryDetails& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
56 inline S3RepositoryDetails& WithBucketName(const char* value) { SetBucketName(value); return *this;}
58
60
65 inline const CodeArtifacts& GetCodeArtifacts() const{ return m_codeArtifacts; }
66 inline bool CodeArtifactsHasBeenSet() const { return m_codeArtifactsHasBeenSet; }
67 inline void SetCodeArtifacts(const CodeArtifacts& value) { m_codeArtifactsHasBeenSet = true; m_codeArtifacts = value; }
68 inline void SetCodeArtifacts(CodeArtifacts&& value) { m_codeArtifactsHasBeenSet = true; m_codeArtifacts = std::move(value); }
69 inline S3RepositoryDetails& WithCodeArtifacts(const CodeArtifacts& value) { SetCodeArtifacts(value); return *this;}
70 inline S3RepositoryDetails& WithCodeArtifacts(CodeArtifacts&& value) { SetCodeArtifacts(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_bucketName;
75 bool m_bucketNameHasBeenSet = false;
76
77 CodeArtifacts m_codeArtifacts;
78 bool m_codeArtifactsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CodeGuruReviewer
83} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue