AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
S3BucketRepository.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/S3RepositoryDetails.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
31 public:
32 AWS_CODEGURUREVIEWER_API S3BucketRepository() = default;
33 AWS_CODEGURUREVIEWER_API S3BucketRepository(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEGURUREVIEWER_API S3BucketRepository& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 S3BucketRepository& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
63 inline const S3RepositoryDetails& GetDetails() const { return m_details; }
64 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
65 template <typename DetailsT = S3RepositoryDetails>
66 void SetDetails(DetailsT&& value) {
67 m_detailsHasBeenSet = true;
68 m_details = std::forward<DetailsT>(value);
69 }
70 template <typename DetailsT = S3RepositoryDetails>
71 S3BucketRepository& WithDetails(DetailsT&& value) {
72 SetDetails(std::forward<DetailsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_name;
78
79 S3RepositoryDetails m_details;
80 bool m_nameHasBeenSet = false;
81 bool m_detailsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CodeGuruReviewer
86} // namespace Aws
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUREVIEWER_API S3BucketRepository(Aws::Utils::Json::JsonView jsonValue)
S3BucketRepository & WithName(NameT &&value)
AWS_CODEGURUREVIEWER_API S3BucketRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API S3BucketRepository()=default
S3BucketRepository & WithDetails(DetailsT &&value)
const S3RepositoryDetails & GetDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue