AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
BitbucketIntegrationInput.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
29 public:
30 AWS_SECURITYAGENT_API BitbucketIntegrationInput() = default;
31 AWS_SECURITYAGENT_API BitbucketIntegrationInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetInstallationId() const { return m_installationId; }
41 inline bool InstallationIdHasBeenSet() const { return m_installationIdHasBeenSet; }
42 template <typename InstallationIdT = Aws::String>
43 void SetInstallationId(InstallationIdT&& value) {
44 m_installationIdHasBeenSet = true;
45 m_installationId = std::forward<InstallationIdT>(value);
46 }
47 template <typename InstallationIdT = Aws::String>
49 SetInstallationId(std::forward<InstallationIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetWorkspace() const { return m_workspace; }
60 inline bool WorkspaceHasBeenSet() const { return m_workspaceHasBeenSet; }
61 template <typename WorkspaceT = Aws::String>
62 void SetWorkspace(WorkspaceT&& value) {
63 m_workspaceHasBeenSet = true;
64 m_workspace = std::forward<WorkspaceT>(value);
65 }
66 template <typename WorkspaceT = Aws::String>
68 SetWorkspace(std::forward<WorkspaceT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetCode() const { return m_code; }
78 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
79 template <typename CodeT = Aws::String>
80 void SetCode(CodeT&& value) {
81 m_codeHasBeenSet = true;
82 m_code = std::forward<CodeT>(value);
83 }
84 template <typename CodeT = Aws::String>
86 SetCode(std::forward<CodeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetState() const { return m_state; }
96 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
97 template <typename StateT = Aws::String>
98 void SetState(StateT&& value) {
99 m_stateHasBeenSet = true;
100 m_state = std::forward<StateT>(value);
101 }
102 template <typename StateT = Aws::String>
104 SetState(std::forward<StateT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_installationId;
110
111 Aws::String m_workspace;
112
113 Aws::String m_code;
114
115 Aws::String m_state;
116 bool m_installationIdHasBeenSet = false;
117 bool m_workspaceHasBeenSet = false;
118 bool m_codeHasBeenSet = false;
119 bool m_stateHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SecurityAgent
124} // namespace Aws
BitbucketIntegrationInput & WithState(StateT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
BitbucketIntegrationInput & WithCode(CodeT &&value)
BitbucketIntegrationInput & WithInstallationId(InstallationIdT &&value)
AWS_SECURITYAGENT_API BitbucketIntegrationInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API BitbucketIntegrationInput()=default
BitbucketIntegrationInput & WithWorkspace(WorkspaceT &&value)
AWS_SECURITYAGENT_API BitbucketIntegrationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue