AWS SDK for C++

AWS SDK for C++ Version 1.11.763

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
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
32 public:
33 AWS_CODEGURUREVIEWER_API CodeArtifacts() = default;
34 AWS_CODEGURUREVIEWER_API CodeArtifacts(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEGURUREVIEWER_API CodeArtifacts& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetSourceCodeArtifactsObjectKey() const { return m_sourceCodeArtifactsObjectKey; }
44 inline bool SourceCodeArtifactsObjectKeyHasBeenSet() const { return m_sourceCodeArtifactsObjectKeyHasBeenSet; }
45 template <typename SourceCodeArtifactsObjectKeyT = Aws::String>
46 void SetSourceCodeArtifactsObjectKey(SourceCodeArtifactsObjectKeyT&& value) {
47 m_sourceCodeArtifactsObjectKeyHasBeenSet = true;
48 m_sourceCodeArtifactsObjectKey = std::forward<SourceCodeArtifactsObjectKeyT>(value);
49 }
50 template <typename SourceCodeArtifactsObjectKeyT = Aws::String>
51 CodeArtifacts& WithSourceCodeArtifactsObjectKey(SourceCodeArtifactsObjectKeyT&& value) {
52 SetSourceCodeArtifactsObjectKey(std::forward<SourceCodeArtifactsObjectKeyT>(value));
53 return *this;
54 }
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) {
70 m_buildArtifactsObjectKeyHasBeenSet = true;
71 m_buildArtifactsObjectKey = std::forward<BuildArtifactsObjectKeyT>(value);
72 }
73 template <typename BuildArtifactsObjectKeyT = Aws::String>
74 CodeArtifacts& WithBuildArtifactsObjectKey(BuildArtifactsObjectKeyT&& value) {
75 SetBuildArtifactsObjectKey(std::forward<BuildArtifactsObjectKeyT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_sourceCodeArtifactsObjectKey;
81
82 Aws::String m_buildArtifactsObjectKey;
83 bool m_sourceCodeArtifactsObjectKeyHasBeenSet = false;
84 bool m_buildArtifactsObjectKeyHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace CodeGuruReviewer
89} // 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