AWS SDK for C++

AWS SDK for C++ Version 1.11.943

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