AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
GitLabRepositoryResource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
28 public:
29 AWS_SECURITYAGENT_API GitLabRepositoryResource() = default;
30 AWS_SECURITYAGENT_API GitLabRepositoryResource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const Aws::String& GetName() const { return m_name; }
37 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetNamespace() const { return m_namespace; }
55 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
56 template <typename NamespaceT = Aws::String>
57 void SetNamespace(NamespaceT&& value) {
58 m_namespaceHasBeenSet = true;
59 m_namespace = std::forward<NamespaceT>(value);
60 }
61 template <typename NamespaceT = Aws::String>
63 SetNamespace(std::forward<NamespaceT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_name;
69
70 Aws::String m_namespace;
71 bool m_nameHasBeenSet = false;
72 bool m_namespaceHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SecurityAgent
77} // namespace Aws
AWS_SECURITYAGENT_API GitLabRepositoryResource(Aws::Utils::Json::JsonView jsonValue)
GitLabRepositoryResource & WithNamespace(NamespaceT &&value)
GitLabRepositoryResource & WithName(NameT &&value)
AWS_SECURITYAGENT_API GitLabRepositoryResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API GitLabRepositoryResource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue