AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3BucketRepository.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/S3RepositoryDetails.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
35 {
36 public:
37 AWS_CODEGURUREVIEWER_API S3BucketRepository();
38 AWS_CODEGURUREVIEWER_API S3BucketRepository(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUREVIEWER_API S3BucketRepository& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline S3BucketRepository& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline S3BucketRepository& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline S3BucketRepository& WithName(const char* value) { SetName(value); return *this;}
57
59
65 inline const S3RepositoryDetails& GetDetails() const{ return m_details; }
66 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
67 inline void SetDetails(const S3RepositoryDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
68 inline void SetDetails(S3RepositoryDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
69 inline S3BucketRepository& WithDetails(const S3RepositoryDetails& value) { SetDetails(value); return *this;}
70 inline S3BucketRepository& WithDetails(S3RepositoryDetails&& value) { SetDetails(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 S3RepositoryDetails m_details;
78 bool m_detailsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CodeGuruReviewer
83} // namespace Aws
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(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
Aws::Utils::Json::JsonValue JsonValue