AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline OutputArtifact& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline OutputArtifact& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline OutputArtifact& WithName(const char* value) { SetName(value); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetFiles() const{ return m_files; }
68 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
69 inline void SetFiles(const Aws::Vector<Aws::String>& value) { m_filesHasBeenSet = true; m_files = value; }
70 inline void SetFiles(Aws::Vector<Aws::String>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
71 inline OutputArtifact& WithFiles(const Aws::Vector<Aws::String>& value) { SetFiles(value); return *this;}
72 inline OutputArtifact& WithFiles(Aws::Vector<Aws::String>&& value) { SetFiles(std::move(value)); return *this;}
73 inline OutputArtifact& AddFiles(const Aws::String& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
74 inline OutputArtifact& AddFiles(Aws::String&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
75 inline OutputArtifact& AddFiles(const char* value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
83 bool m_filesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace CodePipeline
88} // namespace Aws
void SetFiles(const Aws::Vector< Aws::String > &value)
OutputArtifact & AddFiles(const Aws::String &value)
void SetFiles(Aws::Vector< Aws::String > &&value)
OutputArtifact & WithFiles(const Aws::Vector< Aws::String > &value)
OutputArtifact & AddFiles(const char *value)
OutputArtifact & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFiles() const
OutputArtifact & AddFiles(Aws::String &&value)
OutputArtifact & WithName(const char *value)
OutputArtifact & WithName(const Aws::String &value)
const Aws::String & GetName() const
AWS_CODEPIPELINE_API OutputArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
OutputArtifact & WithFiles(Aws::Vector< Aws::String > &&value)
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