AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceCodeVersion.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/SourceCodeVersionType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AppRunner
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPRUNNER_API SourceCodeVersion() = default;
37 AWS_APPRUNNER_API SourceCodeVersion(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline SourceCodeVersionType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(SourceCodeVersionType value) { m_typeHasBeenSet = true; m_type = value; }
50 inline SourceCodeVersion& WithType(SourceCodeVersionType value) { SetType(value); return *this;}
52
54
58 inline const Aws::String& GetValue() const { return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 template<typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
62 template<typename ValueT = Aws::String>
63 SourceCodeVersion& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_value;
71 bool m_valueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppRunner
76} // namespace Aws
SourceCodeVersion & WithValue(ValueT &&value)
SourceCodeVersion & WithType(SourceCodeVersionType value)
AWS_APPRUNNER_API SourceCodeVersion()=default
void SetType(SourceCodeVersionType value)
AWS_APPRUNNER_API SourceCodeVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPRUNNER_API SourceCodeVersion(Aws::Utils::Json::JsonView jsonValue)
SourceCodeVersionType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue