AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
ConnectorReferenceSummary.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/ConnectionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyGen3 {
22namespace Model {
23
31 public:
32 AWS_AMPLIFYGEN3_API ConnectorReferenceSummary() = default;
35 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
42 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
43 template <typename EnvironmentNameT = Aws::String>
44 void SetEnvironmentName(EnvironmentNameT&& value) {
45 m_environmentNameHasBeenSet = true;
46 m_environmentName = std::forward<EnvironmentNameT>(value);
47 }
48 template <typename EnvironmentNameT = Aws::String>
50 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
60 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
61 template <typename EnvironmentArnT = Aws::String>
62 void SetEnvironmentArn(EnvironmentArnT&& value) {
63 m_environmentArnHasBeenSet = true;
64 m_environmentArn = std::forward<EnvironmentArnT>(value);
65 }
66 template <typename EnvironmentArnT = Aws::String>
68 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetAppName() const { return m_appName; }
78 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
79 template <typename AppNameT = Aws::String>
80 void SetAppName(AppNameT&& value) {
81 m_appNameHasBeenSet = true;
82 m_appName = std::forward<AppNameT>(value);
83 }
84 template <typename AppNameT = Aws::String>
86 SetAppName(std::forward<AppNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetAppArn() const { return m_appArn; }
96 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
97 template <typename AppArnT = Aws::String>
98 void SetAppArn(AppArnT&& value) {
99 m_appArnHasBeenSet = true;
100 m_appArn = std::forward<AppArnT>(value);
101 }
102 template <typename AppArnT = Aws::String>
104 SetAppArn(std::forward<AppArnT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Vector<ConnectionType>& GetConnectionTypes() const { return m_connectionTypes; }
114 inline bool ConnectionTypesHasBeenSet() const { return m_connectionTypesHasBeenSet; }
115 template <typename ConnectionTypesT = Aws::Vector<ConnectionType>>
116 void SetConnectionTypes(ConnectionTypesT&& value) {
117 m_connectionTypesHasBeenSet = true;
118 m_connectionTypes = std::forward<ConnectionTypesT>(value);
119 }
120 template <typename ConnectionTypesT = Aws::Vector<ConnectionType>>
122 SetConnectionTypes(std::forward<ConnectionTypesT>(value));
123 return *this;
124 }
126 m_connectionTypesHasBeenSet = true;
127 m_connectionTypes.push_back(value);
128 return *this;
129 }
131 private:
132 Aws::String m_environmentName;
133
134 Aws::String m_environmentArn;
135
136 Aws::String m_appName;
137
138 Aws::String m_appArn;
139
140 Aws::Vector<ConnectionType> m_connectionTypes;
141 bool m_environmentNameHasBeenSet = false;
142 bool m_environmentArnHasBeenSet = false;
143 bool m_appNameHasBeenSet = false;
144 bool m_appArnHasBeenSet = false;
145 bool m_connectionTypesHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace AmplifyGen3
150} // namespace Aws
AWS_AMPLIFYGEN3_API ConnectorReferenceSummary(Aws::Utils::Json::JsonView jsonValue)
ConnectorReferenceSummary & WithAppArn(AppArnT &&value)
ConnectorReferenceSummary & WithAppName(AppNameT &&value)
ConnectorReferenceSummary & WithConnectionTypes(ConnectionTypesT &&value)
AWS_AMPLIFYGEN3_API ConnectorReferenceSummary()=default
const Aws::Vector< ConnectionType > & GetConnectionTypes() const
ConnectorReferenceSummary & WithEnvironmentArn(EnvironmentArnT &&value)
ConnectorReferenceSummary & WithEnvironmentName(EnvironmentNameT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorReferenceSummary & AddConnectionTypes(ConnectionType value)
AWS_AMPLIFYGEN3_API ConnectorReferenceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue