AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeArtifacts.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_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 CodeGuruReviewer
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_CODEGURUREVIEWER_API CodeArtifacts() = default;
39 AWS_CODEGURUREVIEWER_API CodeArtifacts(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEGURUREVIEWER_API CodeArtifacts& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetSourceCodeArtifactsObjectKey() const { return m_sourceCodeArtifactsObjectKey; }
50 inline bool SourceCodeArtifactsObjectKeyHasBeenSet() const { return m_sourceCodeArtifactsObjectKeyHasBeenSet; }
51 template<typename SourceCodeArtifactsObjectKeyT = Aws::String>
52 void SetSourceCodeArtifactsObjectKey(SourceCodeArtifactsObjectKeyT&& value) { m_sourceCodeArtifactsObjectKeyHasBeenSet = true; m_sourceCodeArtifactsObjectKey = std::forward<SourceCodeArtifactsObjectKeyT>(value); }
53 template<typename SourceCodeArtifactsObjectKeyT = Aws::String>
54 CodeArtifacts& WithSourceCodeArtifactsObjectKey(SourceCodeArtifactsObjectKeyT&& value) { SetSourceCodeArtifactsObjectKey(std::forward<SourceCodeArtifactsObjectKeyT>(value)); return *this;}
56
58
66 inline const Aws::String& GetBuildArtifactsObjectKey() const { return m_buildArtifactsObjectKey; }
67 inline bool BuildArtifactsObjectKeyHasBeenSet() const { return m_buildArtifactsObjectKeyHasBeenSet; }
68 template<typename BuildArtifactsObjectKeyT = Aws::String>
69 void SetBuildArtifactsObjectKey(BuildArtifactsObjectKeyT&& value) { m_buildArtifactsObjectKeyHasBeenSet = true; m_buildArtifactsObjectKey = std::forward<BuildArtifactsObjectKeyT>(value); }
70 template<typename BuildArtifactsObjectKeyT = Aws::String>
71 CodeArtifacts& WithBuildArtifactsObjectKey(BuildArtifactsObjectKeyT&& value) { SetBuildArtifactsObjectKey(std::forward<BuildArtifactsObjectKeyT>(value)); return *this;}
73 private:
74
75 Aws::String m_sourceCodeArtifactsObjectKey;
76 bool m_sourceCodeArtifactsObjectKeyHasBeenSet = false;
77
78 Aws::String m_buildArtifactsObjectKey;
79 bool m_buildArtifactsObjectKeyHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CodeGuruReviewer
84} // namespace Aws
AWS_CODEGURUREVIEWER_API CodeArtifacts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API CodeArtifacts()=default
const Aws::String & GetSourceCodeArtifactsObjectKey() const
CodeArtifacts & WithBuildArtifactsObjectKey(BuildArtifactsObjectKeyT &&value)
AWS_CODEGURUREVIEWER_API CodeArtifacts(Aws::Utils::Json::JsonView jsonValue)
void SetSourceCodeArtifactsObjectKey(SourceCodeArtifactsObjectKeyT &&value)
CodeArtifacts & WithSourceCodeArtifactsObjectKey(SourceCodeArtifactsObjectKeyT &&value)
const Aws::String & GetBuildArtifactsObjectKey() const
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBuildArtifactsObjectKey(BuildArtifactsObjectKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue