AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ReferenceInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
29 public:
30 AWS_DEVOPSAGENT_API ReferenceInput() = default;
31 AWS_DEVOPSAGENT_API ReferenceInput(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DEVOPSAGENT_API ReferenceInput& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSystem() const { return m_system; }
40 inline bool SystemHasBeenSet() const { return m_systemHasBeenSet; }
41 template <typename SystemT = Aws::String>
42 void SetSystem(SystemT&& value) {
43 m_systemHasBeenSet = true;
44 m_system = std::forward<SystemT>(value);
45 }
46 template <typename SystemT = Aws::String>
47 ReferenceInput& WithSystem(SystemT&& value) {
48 SetSystem(std::forward<SystemT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTitle() const { return m_title; }
58 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
59 template <typename TitleT = Aws::String>
60 void SetTitle(TitleT&& value) {
61 m_titleHasBeenSet = true;
62 m_title = std::forward<TitleT>(value);
63 }
64 template <typename TitleT = Aws::String>
65 ReferenceInput& WithTitle(TitleT&& value) {
66 SetTitle(std::forward<TitleT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetReferenceId() const { return m_referenceId; }
76 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
77 template <typename ReferenceIdT = Aws::String>
78 void SetReferenceId(ReferenceIdT&& value) {
79 m_referenceIdHasBeenSet = true;
80 m_referenceId = std::forward<ReferenceIdT>(value);
81 }
82 template <typename ReferenceIdT = Aws::String>
83 ReferenceInput& WithReferenceId(ReferenceIdT&& value) {
84 SetReferenceId(std::forward<ReferenceIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetReferenceUrl() const { return m_referenceUrl; }
94 inline bool ReferenceUrlHasBeenSet() const { return m_referenceUrlHasBeenSet; }
95 template <typename ReferenceUrlT = Aws::String>
96 void SetReferenceUrl(ReferenceUrlT&& value) {
97 m_referenceUrlHasBeenSet = true;
98 m_referenceUrl = std::forward<ReferenceUrlT>(value);
99 }
100 template <typename ReferenceUrlT = Aws::String>
101 ReferenceInput& WithReferenceUrl(ReferenceUrlT&& value) {
102 SetReferenceUrl(std::forward<ReferenceUrlT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetAssociationId() const { return m_associationId; }
112 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
113 template <typename AssociationIdT = Aws::String>
114 void SetAssociationId(AssociationIdT&& value) {
115 m_associationIdHasBeenSet = true;
116 m_associationId = std::forward<AssociationIdT>(value);
117 }
118 template <typename AssociationIdT = Aws::String>
119 ReferenceInput& WithAssociationId(AssociationIdT&& value) {
120 SetAssociationId(std::forward<AssociationIdT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_system;
126
127 Aws::String m_title;
128
129 Aws::String m_referenceId;
130
131 Aws::String m_referenceUrl;
132
133 Aws::String m_associationId;
134 bool m_systemHasBeenSet = false;
135 bool m_titleHasBeenSet = false;
136 bool m_referenceIdHasBeenSet = false;
137 bool m_referenceUrlHasBeenSet = false;
138 bool m_associationIdHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace DevOpsAgent
143} // namespace Aws
void SetAssociationId(AssociationIdT &&value)
const Aws::String & GetTitle() const
ReferenceInput & WithReferenceId(ReferenceIdT &&value)
ReferenceInput & WithTitle(TitleT &&value)
void SetReferenceId(ReferenceIdT &&value)
ReferenceInput & WithSystem(SystemT &&value)
const Aws::String & GetReferenceUrl() const
const Aws::String & GetReferenceId() const
const Aws::String & GetAssociationId() const
void SetReferenceUrl(ReferenceUrlT &&value)
ReferenceInput & WithAssociationId(AssociationIdT &&value)
ReferenceInput & WithReferenceUrl(ReferenceUrlT &&value)
AWS_DEVOPSAGENT_API ReferenceInput()=default
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API ReferenceInput(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API ReferenceInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSystem() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue