7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/ConnectionStatus.h>
9#include <aws/assurance/model/ConnectionType.h>
10#include <aws/assurance/model/GitHubConnectionDetails.h>
11#include <aws/assurance/model/S3ConnectionDetails.h>
12#include <aws/assurance/model/SharePointConnectionDetails.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/crt/cbor/Cbor.h>
39 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 m_connectionTypeHasBeenSet =
true;
49 m_connectionType = value;
64 m_statusHasBeenSet =
true;
84 template <
typename ConnectionIdT = Aws::String>
86 m_connectionIdHasBeenSet =
true;
87 m_connectionId = std::forward<ConnectionIdT>(value);
89 template <
typename ConnectionIdT = Aws::String>
103 template <
typename S3T = S3ConnectionDetails>
105 m_s3HasBeenSet =
true;
106 m_s3 = std::forward<S3T>(value);
108 template <
typename S3T = S3ConnectionDetails>
110 SetS3(std::forward<S3T>(value));
122 template <
typename GithubT = GitHubConnectionDetails>
124 m_githubHasBeenSet =
true;
125 m_github = std::forward<GithubT>(value);
127 template <
typename GithubT = GitHubConnectionDetails>
141 template <
typename Sharepo
intT = SharePo
intConnectionDetails>
143 m_sharepointHasBeenSet =
true;
144 m_sharepoint = std::forward<SharepointT>(value);
146 template <
typename Sharepo
intT = SharePo
intConnectionDetails>
159 template <
typename CreatedAtT = Aws::Utils::DateTime>
161 m_createdAtHasBeenSet =
true;
162 m_createdAt = std::forward<CreatedAtT>(value);
164 template <
typename CreatedAtT = Aws::Utils::DateTime>
177 S3ConnectionDetails m_s3;
179 GitHubConnectionDetails m_github;
181 SharePointConnectionDetails m_sharepoint;
184 bool m_connectionTypeHasBeenSet =
false;
185 bool m_statusHasBeenSet =
false;
186 bool m_connectionIdHasBeenSet =
false;
187 bool m_s3HasBeenSet =
false;
188 bool m_githubHasBeenSet =
false;
189 bool m_sharepointHasBeenSet =
false;
190 bool m_createdAtHasBeenSet =
false;
bool ConnectionTypeHasBeenSet() const
AWS_ASSURANCE_API EnvironmentConnectionSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetConnectionId(ConnectionIdT &&value)
EnvironmentConnectionSummary & WithS3(S3T &&value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const SharePointConnectionDetails & GetSharepoint() const
EnvironmentConnectionSummary & WithCreatedAt(CreatedAtT &&value)
AWS_ASSURANCE_API EnvironmentConnectionSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetStatus(ConnectionStatus value)
void SetGithub(GithubT &&value)
ConnectionType GetConnectionType() const
void SetConnectionType(ConnectionType value)
const Aws::String & GetConnectionId() const
bool GithubHasBeenSet() const
bool SharepointHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
EnvironmentConnectionSummary & WithConnectionId(ConnectionIdT &&value)
bool S3HasBeenSet() const
EnvironmentConnectionSummary & WithSharepoint(SharepointT &&value)
bool StatusHasBeenSet() const
EnvironmentConnectionSummary & WithStatus(ConnectionStatus value)
EnvironmentConnectionSummary & WithGithub(GithubT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ConnectionIdHasBeenSet() const
const GitHubConnectionDetails & GetGithub() const
void SetSharepoint(SharepointT &&value)
ConnectionStatus GetStatus() const
const S3ConnectionDetails & GetS3() const
AWS_ASSURANCE_API EnvironmentConnectionSummary()=default
EnvironmentConnectionSummary & WithConnectionType(ConnectionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String