AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlobMetadata.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCommit
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODECOMMIT_API BlobMetadata();
36 AWS_CODECOMMIT_API BlobMetadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODECOMMIT_API BlobMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBlobId() const{ return m_blobId; }
46 inline bool BlobIdHasBeenSet() const { return m_blobIdHasBeenSet; }
47 inline void SetBlobId(const Aws::String& value) { m_blobIdHasBeenSet = true; m_blobId = value; }
48 inline void SetBlobId(Aws::String&& value) { m_blobIdHasBeenSet = true; m_blobId = std::move(value); }
49 inline void SetBlobId(const char* value) { m_blobIdHasBeenSet = true; m_blobId.assign(value); }
50 inline BlobMetadata& WithBlobId(const Aws::String& value) { SetBlobId(value); return *this;}
51 inline BlobMetadata& WithBlobId(Aws::String&& value) { SetBlobId(std::move(value)); return *this;}
52 inline BlobMetadata& WithBlobId(const char* value) { SetBlobId(value); return *this;}
54
56
59 inline const Aws::String& GetPath() const{ return m_path; }
60 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
61 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
62 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
63 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
64 inline BlobMetadata& WithPath(const Aws::String& value) { SetPath(value); return *this;}
65 inline BlobMetadata& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
66 inline BlobMetadata& WithPath(const char* value) { SetPath(value); return *this;}
68
70
77 inline const Aws::String& GetMode() const{ return m_mode; }
78 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
79 inline void SetMode(const Aws::String& value) { m_modeHasBeenSet = true; m_mode = value; }
80 inline void SetMode(Aws::String&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
81 inline void SetMode(const char* value) { m_modeHasBeenSet = true; m_mode.assign(value); }
82 inline BlobMetadata& WithMode(const Aws::String& value) { SetMode(value); return *this;}
83 inline BlobMetadata& WithMode(Aws::String&& value) { SetMode(std::move(value)); return *this;}
84 inline BlobMetadata& WithMode(const char* value) { SetMode(value); return *this;}
86 private:
87
88 Aws::String m_blobId;
89 bool m_blobIdHasBeenSet = false;
90
91 Aws::String m_path;
92 bool m_pathHasBeenSet = false;
93
94 Aws::String m_mode;
95 bool m_modeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CodeCommit
100} // namespace Aws
BlobMetadata & WithPath(const Aws::String &value)
BlobMetadata & WithPath(const char *value)
const Aws::String & GetPath() const
void SetMode(Aws::String &&value)
void SetPath(const Aws::String &value)
BlobMetadata & WithBlobId(const Aws::String &value)
BlobMetadata & WithPath(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBlobId(const char *value)
BlobMetadata & WithMode(Aws::String &&value)
void SetBlobId(const Aws::String &value)
AWS_CODECOMMIT_API BlobMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBlobId(Aws::String &&value)
BlobMetadata & WithMode(const char *value)
void SetMode(const Aws::String &value)
void SetPath(Aws::String &&value)
const Aws::String & GetBlobId() const
BlobMetadata & WithBlobId(Aws::String &&value)
const Aws::String & GetMode() const
void SetPath(const char *value)
AWS_CODECOMMIT_API BlobMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetMode(const char *value)
BlobMetadata & WithMode(const Aws::String &value)
BlobMetadata & WithBlobId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue