AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GitHubConnectionKey.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
29 public:
30 AWS_ASSURANCE_API GitHubConnectionKey() = default;
31 AWS_ASSURANCE_API GitHubConnectionKey(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ASSURANCE_API GitHubConnectionKey& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
41 inline const Aws::String& GetAccount() const { return m_account; }
42 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
43 template <typename AccountT = Aws::String>
44 void SetAccount(AccountT&& value) {
45 m_accountHasBeenSet = true;
46 m_account = std::forward<AccountT>(value);
47 }
48 template <typename AccountT = Aws::String>
49 GitHubConnectionKey& WithAccount(AccountT&& value) {
50 SetAccount(std::forward<AccountT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_account;
56 bool m_accountHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Assurance
61} // namespace Aws
AWS_ASSURANCE_API GitHubConnectionKey()=default
AWS_ASSURANCE_API GitHubConnectionKey & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
GitHubConnectionKey & WithAccount(AccountT &&value)
AWS_ASSURANCE_API GitHubConnectionKey(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String