AWS SDK for C++

AWS SDK for C++ Version 1.11.903

Loading...
Searching...
No Matches
ScopeChange.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
30 public:
31 AWS_SECURITYAGENT_API ScopeChange() = default;
32 AWS_SECURITYAGENT_API ScopeChange(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API ScopeChange& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetIntegrationId() const { return m_integrationId; }
42 inline bool IntegrationIdHasBeenSet() const { return m_integrationIdHasBeenSet; }
43 template <typename IntegrationIdT = Aws::String>
44 void SetIntegrationId(IntegrationIdT&& value) {
45 m_integrationIdHasBeenSet = true;
46 m_integrationId = std::forward<IntegrationIdT>(value);
47 }
48 template <typename IntegrationIdT = Aws::String>
49 ScopeChange& WithIntegrationId(IntegrationIdT&& value) {
50 SetIntegrationId(std::forward<IntegrationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetProviderResourceId() const { return m_providerResourceId; }
60 inline bool ProviderResourceIdHasBeenSet() const { return m_providerResourceIdHasBeenSet; }
61 template <typename ProviderResourceIdT = Aws::String>
62 void SetProviderResourceId(ProviderResourceIdT&& value) {
63 m_providerResourceIdHasBeenSet = true;
64 m_providerResourceId = std::forward<ProviderResourceIdT>(value);
65 }
66 template <typename ProviderResourceIdT = Aws::String>
67 ScopeChange& WithProviderResourceId(ProviderResourceIdT&& value) {
68 SetProviderResourceId(std::forward<ProviderResourceIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetBaseCommitSha() const { return m_baseCommitSha; }
79 inline bool BaseCommitShaHasBeenSet() const { return m_baseCommitShaHasBeenSet; }
80 template <typename BaseCommitShaT = Aws::String>
81 void SetBaseCommitSha(BaseCommitShaT&& value) {
82 m_baseCommitShaHasBeenSet = true;
83 m_baseCommitSha = std::forward<BaseCommitShaT>(value);
84 }
85 template <typename BaseCommitShaT = Aws::String>
86 ScopeChange& WithBaseCommitSha(BaseCommitShaT&& value) {
87 SetBaseCommitSha(std::forward<BaseCommitShaT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetHeadCommitSha() const { return m_headCommitSha; }
97 inline bool HeadCommitShaHasBeenSet() const { return m_headCommitShaHasBeenSet; }
98 template <typename HeadCommitShaT = Aws::String>
99 void SetHeadCommitSha(HeadCommitShaT&& value) {
100 m_headCommitShaHasBeenSet = true;
101 m_headCommitSha = std::forward<HeadCommitShaT>(value);
102 }
103 template <typename HeadCommitShaT = Aws::String>
104 ScopeChange& WithHeadCommitSha(HeadCommitShaT&& value) {
105 SetHeadCommitSha(std::forward<HeadCommitShaT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetTriggerRunId() const { return m_triggerRunId; }
115 inline bool TriggerRunIdHasBeenSet() const { return m_triggerRunIdHasBeenSet; }
116 template <typename TriggerRunIdT = Aws::String>
117 void SetTriggerRunId(TriggerRunIdT&& value) {
118 m_triggerRunIdHasBeenSet = true;
119 m_triggerRunId = std::forward<TriggerRunIdT>(value);
120 }
121 template <typename TriggerRunIdT = Aws::String>
122 ScopeChange& WithTriggerRunId(TriggerRunIdT&& value) {
123 SetTriggerRunId(std::forward<TriggerRunIdT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_integrationId;
129
130 Aws::String m_providerResourceId;
131
132 Aws::String m_baseCommitSha;
133
134 Aws::String m_headCommitSha;
135
136 Aws::String m_triggerRunId;
137 bool m_integrationIdHasBeenSet = false;
138 bool m_providerResourceIdHasBeenSet = false;
139 bool m_baseCommitShaHasBeenSet = false;
140 bool m_headCommitShaHasBeenSet = false;
141 bool m_triggerRunIdHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace SecurityAgent
146} // namespace Aws
const Aws::String & GetHeadCommitSha() const
Definition ScopeChange.h:96
void SetHeadCommitSha(HeadCommitShaT &&value)
Definition ScopeChange.h:99
AWS_SECURITYAGENT_API ScopeChange(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API ScopeChange & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIntegrationId() const
Definition ScopeChange.h:41
ScopeChange & WithBaseCommitSha(BaseCommitShaT &&value)
Definition ScopeChange.h:86
ScopeChange & WithTriggerRunId(TriggerRunIdT &&value)
ScopeChange & WithHeadCommitSha(HeadCommitShaT &&value)
AWS_SECURITYAGENT_API ScopeChange()=default
const Aws::String & GetTriggerRunId() const
ScopeChange & WithProviderResourceId(ProviderResourceIdT &&value)
Definition ScopeChange.h:67
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProviderResourceId(ProviderResourceIdT &&value)
Definition ScopeChange.h:62
const Aws::String & GetBaseCommitSha() const
Definition ScopeChange.h:78
void SetBaseCommitSha(BaseCommitShaT &&value)
Definition ScopeChange.h:81
void SetIntegrationId(IntegrationIdT &&value)
Definition ScopeChange.h:44
ScopeChange & WithIntegrationId(IntegrationIdT &&value)
Definition ScopeChange.h:49
void SetTriggerRunId(TriggerRunIdT &&value)
const Aws::String & GetProviderResourceId() const
Definition ScopeChange.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue