AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InputArtifact.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_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 CodePipeline {
20namespace Model {
21
29 public:
30 AWS_CODEPIPELINE_API InputArtifact() = default;
31 AWS_CODEPIPELINE_API InputArtifact(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODEPIPELINE_API InputArtifact& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template <typename NameT = Aws::String>
51 void SetName(NameT&& value) {
52 m_nameHasBeenSet = true;
53 m_name = std::forward<NameT>(value);
54 }
55 template <typename NameT = Aws::String>
56 InputArtifact& WithName(NameT&& value) {
57 SetName(std::forward<NameT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_name;
63 bool m_nameHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace CodePipeline
68} // namespace Aws
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
AWS_CODEPIPELINE_API InputArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API InputArtifact()=default
InputArtifact & WithName(NameT &&value)
AWS_CODEPIPELINE_API InputArtifact(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue