AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GitLabDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/GitLabTokenType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
29 public:
30 AWS_DEVOPSAGENT_API GitLabDetails() = default;
31 AWS_DEVOPSAGENT_API GitLabDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DEVOPSAGENT_API GitLabDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTargetUrl() const { return m_targetUrl; }
40 inline bool TargetUrlHasBeenSet() const { return m_targetUrlHasBeenSet; }
41 template <typename TargetUrlT = Aws::String>
42 void SetTargetUrl(TargetUrlT&& value) {
43 m_targetUrlHasBeenSet = true;
44 m_targetUrl = std::forward<TargetUrlT>(value);
45 }
46 template <typename TargetUrlT = Aws::String>
47 GitLabDetails& WithTargetUrl(TargetUrlT&& value) {
48 SetTargetUrl(std::forward<TargetUrlT>(value));
49 return *this;
50 }
52
54
57 inline GitLabTokenType GetTokenType() const { return m_tokenType; }
58 inline bool TokenTypeHasBeenSet() const { return m_tokenTypeHasBeenSet; }
59 inline void SetTokenType(GitLabTokenType value) {
60 m_tokenTypeHasBeenSet = true;
61 m_tokenType = value;
62 }
64 SetTokenType(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetTokenValue() const { return m_tokenValue; }
74 inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; }
75 template <typename TokenValueT = Aws::String>
76 void SetTokenValue(TokenValueT&& value) {
77 m_tokenValueHasBeenSet = true;
78 m_tokenValue = std::forward<TokenValueT>(value);
79 }
80 template <typename TokenValueT = Aws::String>
81 GitLabDetails& WithTokenValue(TokenValueT&& value) {
82 SetTokenValue(std::forward<TokenValueT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetGroupId() const { return m_groupId; }
92 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
93 template <typename GroupIdT = Aws::String>
94 void SetGroupId(GroupIdT&& value) {
95 m_groupIdHasBeenSet = true;
96 m_groupId = std::forward<GroupIdT>(value);
97 }
98 template <typename GroupIdT = Aws::String>
99 GitLabDetails& WithGroupId(GroupIdT&& value) {
100 SetGroupId(std::forward<GroupIdT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_targetUrl;
106
108
109 Aws::String m_tokenValue;
110
111 Aws::String m_groupId;
112 bool m_targetUrlHasBeenSet = false;
113 bool m_tokenTypeHasBeenSet = false;
114 bool m_tokenValueHasBeenSet = false;
115 bool m_groupIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace DevOpsAgent
120} // namespace Aws
GitLabDetails & WithTokenType(GitLabTokenType value)
AWS_DEVOPSAGENT_API GitLabDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTokenType(GitLabTokenType value)
void SetTokenValue(TokenValueT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API GitLabDetails()=default
const Aws::String & GetTokenValue() const
GitLabTokenType GetTokenType() const
const Aws::String & GetTargetUrl() const
GitLabDetails & WithGroupId(GroupIdT &&value)
GitLabDetails & WithTargetUrl(TargetUrlT &&value)
AWS_DEVOPSAGENT_API GitLabDetails(Aws::Utils::Json::JsonView jsonValue)
GitLabDetails & WithTokenValue(TokenValueT &&value)
void SetTargetUrl(TargetUrlT &&value)
const Aws::String & GetGroupId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue