AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CodeArtifacts.h
Go to the documentation of this file.
1
6#pragma once
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 CodeGuruReviewer
22{
23namespace Model
24{
25
36 {
37 public:
42
43
48 inline const Aws::String& GetSourceCodeArtifactsObjectKey() const{ return m_sourceCodeArtifactsObjectKey; }
49
54 inline bool SourceCodeArtifactsObjectKeyHasBeenSet() const { return m_sourceCodeArtifactsObjectKeyHasBeenSet; }
55
60 inline void SetSourceCodeArtifactsObjectKey(const Aws::String& value) { m_sourceCodeArtifactsObjectKeyHasBeenSet = true; m_sourceCodeArtifactsObjectKey = value; }
61
66 inline void SetSourceCodeArtifactsObjectKey(Aws::String&& value) { m_sourceCodeArtifactsObjectKeyHasBeenSet = true; m_sourceCodeArtifactsObjectKey = std::move(value); }
67
72 inline void SetSourceCodeArtifactsObjectKey(const char* value) { m_sourceCodeArtifactsObjectKeyHasBeenSet = true; m_sourceCodeArtifactsObjectKey.assign(value); }
73
79
85
90 inline CodeArtifacts& WithSourceCodeArtifactsObjectKey(const char* value) { SetSourceCodeArtifactsObjectKey(value); return *this;}
91
92
101 inline const Aws::String& GetBuildArtifactsObjectKey() const{ return m_buildArtifactsObjectKey; }
102
111 inline bool BuildArtifactsObjectKeyHasBeenSet() const { return m_buildArtifactsObjectKeyHasBeenSet; }
112
121 inline void SetBuildArtifactsObjectKey(const Aws::String& value) { m_buildArtifactsObjectKeyHasBeenSet = true; m_buildArtifactsObjectKey = value; }
122
131 inline void SetBuildArtifactsObjectKey(Aws::String&& value) { m_buildArtifactsObjectKeyHasBeenSet = true; m_buildArtifactsObjectKey = std::move(value); }
132
141 inline void SetBuildArtifactsObjectKey(const char* value) { m_buildArtifactsObjectKeyHasBeenSet = true; m_buildArtifactsObjectKey.assign(value); }
142
152
161 inline CodeArtifacts& WithBuildArtifactsObjectKey(Aws::String&& value) { SetBuildArtifactsObjectKey(std::move(value)); return *this;}
162
171 inline CodeArtifacts& WithBuildArtifactsObjectKey(const char* value) { SetBuildArtifactsObjectKey(value); return *this;}
172
173 private:
174
175 Aws::String m_sourceCodeArtifactsObjectKey;
176 bool m_sourceCodeArtifactsObjectKeyHasBeenSet = false;
177
178 Aws::String m_buildArtifactsObjectKey;
179 bool m_buildArtifactsObjectKeyHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace CodeGuruReviewer
184} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
AWS_CODEGURUREVIEWER_API CodeArtifacts & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceCodeArtifactsObjectKey(const char *value)
Definition: CodeArtifacts.h:72
CodeArtifacts & WithSourceCodeArtifactsObjectKey(const Aws::String &value)
Definition: CodeArtifacts.h:78
void SetBuildArtifactsObjectKey(const Aws::String &value)
const Aws::String & GetSourceCodeArtifactsObjectKey() const
Definition: CodeArtifacts.h:48
void SetBuildArtifactsObjectKey(const char *value)
void SetSourceCodeArtifactsObjectKey(Aws::String &&value)
Definition: CodeArtifacts.h:66
CodeArtifacts & WithSourceCodeArtifactsObjectKey(Aws::String &&value)
Definition: CodeArtifacts.h:84
AWS_CODEGURUREVIEWER_API CodeArtifacts()
void SetSourceCodeArtifactsObjectKey(const Aws::String &value)
Definition: CodeArtifacts.h:60
AWS_CODEGURUREVIEWER_API CodeArtifacts(Aws::Utils::Json::JsonView jsonValue)
CodeArtifacts & WithBuildArtifactsObjectKey(Aws::String &&value)
CodeArtifacts & WithBuildArtifactsObjectKey(const Aws::String &value)
CodeArtifacts & WithSourceCodeArtifactsObjectKey(const char *value)
Definition: CodeArtifacts.h:90
const Aws::String & GetBuildArtifactsObjectKey() const
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBuildArtifactsObjectKey(Aws::String &&value)
CodeArtifacts & WithBuildArtifactsObjectKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String