AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
IngestionConfig.h
1
6#pragma once
7#include <aws/context/Context_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 Context {
20namespace Model {
21
29 public:
30 AWS_CONTEXT_API IngestionConfig() = default;
31 AWS_CONTEXT_API IngestionConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CONTEXT_API IngestionConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
41 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
42 template <typename RoleArnT = Aws::String>
43 void SetRoleArn(RoleArnT&& value) {
44 m_roleArnHasBeenSet = true;
45 m_roleArn = std::forward<RoleArnT>(value);
46 }
47 template <typename RoleArnT = Aws::String>
48 IngestionConfig& WithRoleArn(RoleArnT&& value) {
49 SetRoleArn(std::forward<RoleArnT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_roleArn;
55 bool m_roleArnHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Context
60} // namespace Aws
AWS_CONTEXT_API IngestionConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetRoleArn() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
IngestionConfig & WithRoleArn(RoleArnT &&value)
AWS_CONTEXT_API IngestionConfig()=default
AWS_CONTEXT_API IngestionConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String