AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
GitLabIntegrationInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/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 SecurityAgent {
21namespace Model {
22
30 public:
31 AWS_SECURITYAGENT_API GitLabIntegrationInput() = default;
32 AWS_SECURITYAGENT_API GitLabIntegrationInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetAccessToken() const { return m_accessToken; }
42 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
43 template <typename AccessTokenT = Aws::String>
44 void SetAccessToken(AccessTokenT&& value) {
45 m_accessTokenHasBeenSet = true;
46 m_accessToken = std::forward<AccessTokenT>(value);
47 }
48 template <typename AccessTokenT = Aws::String>
49 GitLabIntegrationInput& WithAccessToken(AccessTokenT&& value) {
50 SetAccessToken(std::forward<AccessTokenT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetTargetUrl() const { return m_targetUrl; }
61 inline bool TargetUrlHasBeenSet() const { return m_targetUrlHasBeenSet; }
62 template <typename TargetUrlT = Aws::String>
63 void SetTargetUrl(TargetUrlT&& value) {
64 m_targetUrlHasBeenSet = true;
65 m_targetUrl = std::forward<TargetUrlT>(value);
66 }
67 template <typename TargetUrlT = Aws::String>
69 SetTargetUrl(std::forward<TargetUrlT>(value));
70 return *this;
71 }
73
75
78 inline GitLabTokenType GetTokenType() const { return m_tokenType; }
79 inline bool TokenTypeHasBeenSet() const { return m_tokenTypeHasBeenSet; }
80 inline void SetTokenType(GitLabTokenType value) {
81 m_tokenTypeHasBeenSet = true;
82 m_tokenType = value;
83 }
85 SetTokenType(value);
86 return *this;
87 }
89
91
95 inline const Aws::String& GetGroupId() const { return m_groupId; }
96 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
97 template <typename GroupIdT = Aws::String>
98 void SetGroupId(GroupIdT&& value) {
99 m_groupIdHasBeenSet = true;
100 m_groupId = std::forward<GroupIdT>(value);
101 }
102 template <typename GroupIdT = Aws::String>
104 SetGroupId(std::forward<GroupIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_accessToken;
110
111 Aws::String m_targetUrl;
112
114
115 Aws::String m_groupId;
116 bool m_accessTokenHasBeenSet = false;
117 bool m_targetUrlHasBeenSet = false;
118 bool m_tokenTypeHasBeenSet = false;
119 bool m_groupIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SecurityAgent
124} // namespace Aws
GitLabIntegrationInput & WithGroupId(GroupIdT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
GitLabIntegrationInput & WithTargetUrl(TargetUrlT &&value)
AWS_SECURITYAGENT_API GitLabIntegrationInput(Aws::Utils::Json::JsonView jsonValue)
GitLabIntegrationInput & WithTokenType(GitLabTokenType value)
GitLabIntegrationInput & WithAccessToken(AccessTokenT &&value)
AWS_SECURITYAGENT_API GitLabIntegrationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API GitLabIntegrationInput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue