AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GitHubConnectionDetails.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Assurance {
20namespace Model {
21
28 public:
29 AWS_ASSURANCE_API GitHubConnectionDetails() = default;
30 AWS_ASSURANCE_API GitHubConnectionDetails(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_ASSURANCE_API GitHubConnectionDetails& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
39 inline const Aws::String& GetAccount() const { return m_account; }
40 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
41 template <typename AccountT = Aws::String>
42 void SetAccount(AccountT&& value) {
43 m_accountHasBeenSet = true;
44 m_account = std::forward<AccountT>(value);
45 }
46 template <typename AccountT = Aws::String>
48 SetAccount(std::forward<AccountT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_account;
54 bool m_accountHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Assurance
59} // namespace Aws
AWS_ASSURANCE_API GitHubConnectionDetails & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API GitHubConnectionDetails(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
GitHubConnectionDetails & WithAccount(AccountT &&value)
AWS_ASSURANCE_API GitHubConnectionDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String