AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OutputArtifact.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 CodePipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEPIPELINE_API OutputArtifact() = default;
37 AWS_CODEPIPELINE_API OutputArtifact(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API OutputArtifact& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 OutputArtifact& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetFiles() const { return m_files; }
66 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
67 template<typename FilesT = Aws::Vector<Aws::String>>
68 void SetFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files = std::forward<FilesT>(value); }
69 template<typename FilesT = Aws::Vector<Aws::String>>
70 OutputArtifact& WithFiles(FilesT&& value) { SetFiles(std::forward<FilesT>(value)); return *this;}
71 template<typename FilesT = Aws::String>
72 OutputArtifact& AddFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files.emplace_back(std::forward<FilesT>(value)); return *this; }
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
80 bool m_filesHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CodePipeline
85} // namespace Aws
OutputArtifact & AddFiles(FilesT &&value)
OutputArtifact & WithFiles(FilesT &&value)
AWS_CODEPIPELINE_API OutputArtifact()=default
const Aws::Vector< Aws::String > & GetFiles() const
const Aws::String & GetName() const
AWS_CODEPIPELINE_API OutputArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputArtifact & WithName(NameT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API OutputArtifact(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue