AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
S3RepositoryDetails.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/CodeArtifacts.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeGuruReviewer {
21namespace Model {
22
32 public:
33 AWS_CODEGURUREVIEWER_API S3RepositoryDetails() = default;
34 AWS_CODEGURUREVIEWER_API S3RepositoryDetails(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEGURUREVIEWER_API S3RepositoryDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetBucketName() const { return m_bucketName; }
44 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
45 template <typename BucketNameT = Aws::String>
46 void SetBucketName(BucketNameT&& value) {
47 m_bucketNameHasBeenSet = true;
48 m_bucketName = std::forward<BucketNameT>(value);
49 }
50 template <typename BucketNameT = Aws::String>
51 S3RepositoryDetails& WithBucketName(BucketNameT&& value) {
52 SetBucketName(std::forward<BucketNameT>(value));
53 return *this;
54 }
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) {
67 m_codeArtifactsHasBeenSet = true;
68 m_codeArtifacts = std::forward<CodeArtifactsT>(value);
69 }
70 template <typename CodeArtifactsT = CodeArtifacts>
71 S3RepositoryDetails& WithCodeArtifacts(CodeArtifactsT&& value) {
72 SetCodeArtifacts(std::forward<CodeArtifactsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_bucketName;
78
79 CodeArtifacts m_codeArtifacts;
80 bool m_bucketNameHasBeenSet = false;
81 bool m_codeArtifactsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CodeGuruReviewer
86} // 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