AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
S3Repository.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeGuruReviewer {
20namespace Model {
21
28 public:
29 AWS_CODEGURUREVIEWER_API S3Repository() = default;
30 AWS_CODEGURUREVIEWER_API S3Repository(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CODEGURUREVIEWER_API S3Repository& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 S3Repository& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetBucketName() const { return m_bucketName; }
58 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
59 template <typename BucketNameT = Aws::String>
60 void SetBucketName(BucketNameT&& value) {
61 m_bucketNameHasBeenSet = true;
62 m_bucketName = std::forward<BucketNameT>(value);
63 }
64 template <typename BucketNameT = Aws::String>
65 S3Repository& WithBucketName(BucketNameT&& value) {
66 SetBucketName(std::forward<BucketNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_name;
72
73 Aws::String m_bucketName;
74 bool m_nameHasBeenSet = false;
75 bool m_bucketNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CodeGuruReviewer
80} // namespace Aws
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUREVIEWER_API S3Repository & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetBucketName(BucketNameT &&value)
AWS_CODEGURUREVIEWER_API S3Repository()=default
S3Repository & WithName(NameT &&value)
AWS_CODEGURUREVIEWER_API S3Repository(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucketName() const
S3Repository & WithBucketName(BucketNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue