AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceIdentifier(const Aws::String& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = value; }
50 inline void SetSourceIdentifier(Aws::String&& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = std::move(value); }
51 inline void SetSourceIdentifier(const char* value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier.assign(value); }
52 inline ProjectSourceVersion& WithSourceIdentifier(const Aws::String& value) { SetSourceIdentifier(value); return *this;}
53 inline ProjectSourceVersion& WithSourceIdentifier(Aws::String&& value) { SetSourceIdentifier(std::move(value)); return *this;}
54 inline ProjectSourceVersion& WithSourceIdentifier(const char* value) { SetSourceIdentifier(value); return *this;}
56
58
77 inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
78 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
79 inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
80 inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
81 inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
82 inline ProjectSourceVersion& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
83 inline ProjectSourceVersion& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
84 inline ProjectSourceVersion& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
86 private:
87
88 Aws::String m_sourceIdentifier;
89 bool m_sourceIdentifierHasBeenSet = false;
90
91 Aws::String m_sourceVersion;
92 bool m_sourceVersionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodeBuild
97} // namespace Aws
ProjectSourceVersion & WithSourceIdentifier(Aws::String &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API ProjectSourceVersion(Aws::Utils::Json::JsonView jsonValue)
ProjectSourceVersion & WithSourceIdentifier(const char *value)
void SetSourceIdentifier(const Aws::String &value)
ProjectSourceVersion & WithSourceIdentifier(const Aws::String &value)
ProjectSourceVersion & WithSourceVersion(Aws::String &&value)
ProjectSourceVersion & WithSourceVersion(const Aws::String &value)
void SetSourceVersion(const Aws::String &value)
AWS_CODEBUILD_API ProjectSourceVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectSourceVersion & WithSourceVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue