AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
S3BucketRepository.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
35 {
36 public:
41
42
47 inline const Aws::String& GetName() const{ return m_name; }
48
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72
77 inline S3BucketRepository& WithName(const Aws::String& value) { SetName(value); return *this;}
78
83 inline S3BucketRepository& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84
89 inline S3BucketRepository& WithName(const char* value) { SetName(value); return *this;}
90
91
98 inline const S3RepositoryDetails& GetDetails() const{ return m_details; }
99
106 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
107
114 inline void SetDetails(const S3RepositoryDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
115
122 inline void SetDetails(S3RepositoryDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
123
130 inline S3BucketRepository& WithDetails(const S3RepositoryDetails& value) { SetDetails(value); return *this;}
131
138 inline S3BucketRepository& WithDetails(S3RepositoryDetails&& value) { SetDetails(std::move(value)); return *this;}
139
140 private:
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 S3RepositoryDetails m_details;
146 bool m_detailsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace CodeGuruReviewer
151} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
S3BucketRepository & WithDetails(const S3RepositoryDetails &value)
AWS_CODEGURUREVIEWER_API S3BucketRepository(Aws::Utils::Json::JsonView jsonValue)
S3BucketRepository & WithName(const char *value)
void SetDetails(S3RepositoryDetails &&value)
void SetDetails(const S3RepositoryDetails &value)
S3BucketRepository & WithName(Aws::String &&value)
S3BucketRepository & WithName(const Aws::String &value)
AWS_CODEGURUREVIEWER_API S3BucketRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
S3BucketRepository & WithDetails(S3RepositoryDetails &&value)
const S3RepositoryDetails & GetDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String