AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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
29 public:
30 AWS_SECURITYAGENT_API GitHubIntegrationInput() = default;
31 AWS_SECURITYAGENT_API GitHubIntegrationInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCode() const { return m_code; }
40 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
41 template <typename CodeT = Aws::String>
42 void SetCode(CodeT&& value) {
43 m_codeHasBeenSet = true;
44 m_code = std::forward<CodeT>(value);
45 }
46 template <typename CodeT = Aws::String>
48 SetCode(std::forward<CodeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetState() const { return m_state; }
58 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
59 template <typename StateT = Aws::String>
60 void SetState(StateT&& value) {
61 m_stateHasBeenSet = true;
62 m_state = std::forward<StateT>(value);
63 }
64 template <typename StateT = Aws::String>
66 SetState(std::forward<StateT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetOrganizationName() const { return m_organizationName; }
76 inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
77 template <typename OrganizationNameT = Aws::String>
78 void SetOrganizationName(OrganizationNameT&& value) {
79 m_organizationNameHasBeenSet = true;
80 m_organizationName = std::forward<OrganizationNameT>(value);
81 }
82 template <typename OrganizationNameT = Aws::String>
83 GitHubIntegrationInput& WithOrganizationName(OrganizationNameT&& value) {
84 SetOrganizationName(std::forward<OrganizationNameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_code;
90
91 Aws::String m_state;
92
93 Aws::String m_organizationName;
94 bool m_codeHasBeenSet = false;
95 bool m_stateHasBeenSet = false;
96 bool m_organizationNameHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SecurityAgent
101} // 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