AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BucketNameT = Aws::String>
52 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
53 template<typename BucketNameT = Aws::String>
54 S3RepositoryDetails& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
56
58
63 inline const CodeArtifacts& GetCodeArtifacts() const { return m_codeArtifacts; }
64 inline bool CodeArtifactsHasBeenSet() const { return m_codeArtifactsHasBeenSet; }
65 template<typename CodeArtifactsT = CodeArtifacts>
66 void SetCodeArtifacts(CodeArtifactsT&& value) { m_codeArtifactsHasBeenSet = true; m_codeArtifacts = std::forward<CodeArtifactsT>(value); }
67 template<typename CodeArtifactsT = CodeArtifacts>
68 S3RepositoryDetails& WithCodeArtifacts(CodeArtifactsT&& value) { SetCodeArtifacts(std::forward<CodeArtifactsT>(value)); return *this;}
70 private:
71
72 Aws::String m_bucketName;
73 bool m_bucketNameHasBeenSet = false;
74
75 CodeArtifacts m_codeArtifacts;
76 bool m_codeArtifactsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CodeGuruReviewer
81} // namespace Aws
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(CodeArtifactsT &&value)
S3RepositoryDetails & WithBucketName(BucketNameT &&value)
AWS_CODEGURUREVIEWER_API S3RepositoryDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue