AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineVariableDeclaration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_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 CodePipeline
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CODEPIPELINE_API PipelineVariableDeclaration();
37 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline PipelineVariableDeclaration& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline PipelineVariableDeclaration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline PipelineVariableDeclaration& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
59 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
60 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
61 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
62 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
63 inline PipelineVariableDeclaration& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
64 inline PipelineVariableDeclaration& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
65 inline PipelineVariableDeclaration& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
67
69
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline PipelineVariableDeclaration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline PipelineVariableDeclaration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline PipelineVariableDeclaration& WithDescription(const char* value) { SetDescription(value); return *this;}
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 Aws::String m_defaultValue;
89 bool m_defaultValueHasBeenSet = false;
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodePipeline
97} // namespace Aws
PipelineVariableDeclaration & WithDescription(const char *value)
AWS_CODEPIPELINE_API PipelineVariableDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineVariableDeclaration & WithDefaultValue(const char *value)
PipelineVariableDeclaration & WithDefaultValue(Aws::String &&value)
PipelineVariableDeclaration & WithName(const char *value)
PipelineVariableDeclaration & WithName(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineVariableDeclaration & WithDescription(const Aws::String &value)
AWS_CODEPIPELINE_API PipelineVariableDeclaration(Aws::Utils::Json::JsonView jsonValue)
PipelineVariableDeclaration & WithDescription(Aws::String &&value)
PipelineVariableDeclaration & WithName(Aws::String &&value)
PipelineVariableDeclaration & WithDefaultValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue