AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSourceRepositoryResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeCatalyst
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CODECATALYST_API CreateSourceRepositoryResult();
33
34
36
39 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
40 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
41 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
42 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
43 inline CreateSourceRepositoryResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
44 inline CreateSourceRepositoryResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
45 inline CreateSourceRepositoryResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
47
49
52 inline const Aws::String& GetProjectName() const{ return m_projectName; }
53 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
54 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
55 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
56 inline CreateSourceRepositoryResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
57 inline CreateSourceRepositoryResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
58 inline CreateSourceRepositoryResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline void SetName(const Aws::String& value) { m_name = value; }
67 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
68 inline void SetName(const char* value) { m_name.assign(value); }
69 inline CreateSourceRepositoryResult& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline CreateSourceRepositoryResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline CreateSourceRepositoryResult& WithName(const char* value) { SetName(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline void SetDescription(const Aws::String& value) { m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_description.assign(value); }
82 inline CreateSourceRepositoryResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline CreateSourceRepositoryResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline CreateSourceRepositoryResult& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CreateSourceRepositoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateSourceRepositoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateSourceRepositoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_spaceName;
100
101 Aws::String m_projectName;
102
103 Aws::String m_name;
104
105 Aws::String m_description;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace CodeCatalyst
112} // namespace Aws
CreateSourceRepositoryResult & WithDescription(const char *value)
AWS_CODECATALYST_API CreateSourceRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceRepositoryResult & WithProjectName(const Aws::String &value)
AWS_CODECATALYST_API CreateSourceRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceRepositoryResult & WithProjectName(Aws::String &&value)
CreateSourceRepositoryResult & WithSpaceName(Aws::String &&value)
CreateSourceRepositoryResult & WithSpaceName(const char *value)
CreateSourceRepositoryResult & WithRequestId(const char *value)
CreateSourceRepositoryResult & WithDescription(const Aws::String &value)
CreateSourceRepositoryResult & WithName(Aws::String &&value)
CreateSourceRepositoryResult & WithRequestId(Aws::String &&value)
CreateSourceRepositoryResult & WithProjectName(const char *value)
CreateSourceRepositoryResult & WithName(const Aws::String &value)
CreateSourceRepositoryResult & WithSpaceName(const Aws::String &value)
CreateSourceRepositoryResult & WithDescription(Aws::String &&value)
CreateSourceRepositoryResult & WithRequestId(const Aws::String &value)
CreateSourceRepositoryResult & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue