AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GitHubIntegrationInput.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 GitHubIntegrationInput() = default;
30 AWS_SECURITYAGENT_API GitHubIntegrationInput(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetCode() const { return m_code; }
39 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
40 template <typename CodeT = Aws::String>
41 void SetCode(CodeT&& value) {
42 m_codeHasBeenSet = true;
43 m_code = std::forward<CodeT>(value);
44 }
45 template <typename CodeT = Aws::String>
47 SetCode(std::forward<CodeT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetState() const { return m_state; }
57 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
58 template <typename StateT = Aws::String>
59 void SetState(StateT&& value) {
60 m_stateHasBeenSet = true;
61 m_state = std::forward<StateT>(value);
62 }
63 template <typename StateT = Aws::String>
65 SetState(std::forward<StateT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetOrganizationName() const { return m_organizationName; }
75 inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
76 template <typename OrganizationNameT = Aws::String>
77 void SetOrganizationName(OrganizationNameT&& value) {
78 m_organizationNameHasBeenSet = true;
79 m_organizationName = std::forward<OrganizationNameT>(value);
80 }
81 template <typename OrganizationNameT = Aws::String>
82 GitHubIntegrationInput& WithOrganizationName(OrganizationNameT&& value) {
83 SetOrganizationName(std::forward<OrganizationNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_code;
89
90 Aws::String m_state;
91
92 Aws::String m_organizationName;
93 bool m_codeHasBeenSet = false;
94 bool m_stateHasBeenSet = false;
95 bool m_organizationNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SecurityAgent
100} // namespace Aws
AWS_SECURITYAGENT_API GitHubIntegrationInput()=default
GitHubIntegrationInput & WithCode(CodeT &&value)
GitHubIntegrationInput & WithOrganizationName(OrganizationNameT &&value)
GitHubIntegrationInput & WithState(StateT &&value)
AWS_SECURITYAGENT_API GitHubIntegrationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API GitHubIntegrationInput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue