AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProjectSourceVersion.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_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 CodeBuild
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEBUILD_API ProjectSourceVersion() = default;
38 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetSourceIdentifier() const { return m_sourceIdentifier; }
48 inline bool SourceIdentifierHasBeenSet() const { return m_sourceIdentifierHasBeenSet; }
49 template<typename SourceIdentifierT = Aws::String>
50 void SetSourceIdentifier(SourceIdentifierT&& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = std::forward<SourceIdentifierT>(value); }
51 template<typename SourceIdentifierT = Aws::String>
52 ProjectSourceVersion& WithSourceIdentifier(SourceIdentifierT&& value) { SetSourceIdentifier(std::forward<SourceIdentifierT>(value)); return *this;}
54
56
75 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
76 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
77 template<typename SourceVersionT = Aws::String>
78 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::forward<SourceVersionT>(value); }
79 template<typename SourceVersionT = Aws::String>
80 ProjectSourceVersion& WithSourceVersion(SourceVersionT&& value) { SetSourceVersion(std::forward<SourceVersionT>(value)); return *this;}
82 private:
83
84 Aws::String m_sourceIdentifier;
85 bool m_sourceIdentifierHasBeenSet = false;
86
87 Aws::String m_sourceVersion;
88 bool m_sourceVersionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CodeBuild
93} // namespace Aws
AWS_CODEBUILD_API ProjectSourceVersion()=default
ProjectSourceVersion & WithSourceIdentifier(SourceIdentifierT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API ProjectSourceVersion(Aws::Utils::Json::JsonView jsonValue)
ProjectSourceVersion & WithSourceVersion(SourceVersionT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
AWS_CODEBUILD_API ProjectSourceVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue