AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnableKinesisStreamingDestinationResult.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/DestinationStatus.h>
10#include <aws/dynamodb/model/EnableKinesisStreamingConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DynamoDB
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DYNAMODB_API EnableKinesisStreamingDestinationResult() = default;
35
36
38
41 inline const Aws::String& GetTableName() const { return m_tableName; }
42 template<typename TableNameT = Aws::String>
43 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
44 template<typename TableNameT = Aws::String>
45 EnableKinesisStreamingDestinationResult& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetStreamArn() const { return m_streamArn; }
53 template<typename StreamArnT = Aws::String>
54 void SetStreamArn(StreamArnT&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::forward<StreamArnT>(value); }
55 template<typename StreamArnT = Aws::String>
56 EnableKinesisStreamingDestinationResult& WithStreamArn(StreamArnT&& value) { SetStreamArn(std::forward<StreamArnT>(value)); return *this;}
58
60
63 inline DestinationStatus GetDestinationStatus() const { return m_destinationStatus; }
64 inline void SetDestinationStatus(DestinationStatus value) { m_destinationStatusHasBeenSet = true; m_destinationStatus = value; }
67
69
73 inline const EnableKinesisStreamingConfiguration& GetEnableKinesisStreamingConfiguration() const { return m_enableKinesisStreamingConfiguration; }
74 template<typename EnableKinesisStreamingConfigurationT = EnableKinesisStreamingConfiguration>
75 void SetEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT&& value) { m_enableKinesisStreamingConfigurationHasBeenSet = true; m_enableKinesisStreamingConfiguration = std::forward<EnableKinesisStreamingConfigurationT>(value); }
76 template<typename EnableKinesisStreamingConfigurationT = EnableKinesisStreamingConfiguration>
77 EnableKinesisStreamingDestinationResult& WithEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT&& value) { SetEnableKinesisStreamingConfiguration(std::forward<EnableKinesisStreamingConfigurationT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 EnableKinesisStreamingDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_tableName;
91 bool m_tableNameHasBeenSet = false;
92
93 Aws::String m_streamArn;
94 bool m_streamArnHasBeenSet = false;
95
97 bool m_destinationStatusHasBeenSet = false;
98
99 EnableKinesisStreamingConfiguration m_enableKinesisStreamingConfiguration;
100 bool m_enableKinesisStreamingConfigurationHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DynamoDB
108} // namespace Aws
EnableKinesisStreamingDestinationResult & WithRequestId(RequestIdT &&value)
void SetEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT &&value)
EnableKinesisStreamingDestinationResult & WithTableName(TableNameT &&value)
EnableKinesisStreamingDestinationResult & WithDestinationStatus(DestinationStatus value)
const EnableKinesisStreamingConfiguration & GetEnableKinesisStreamingConfiguration() const
EnableKinesisStreamingDestinationResult & WithStreamArn(StreamArnT &&value)
EnableKinesisStreamingDestinationResult & WithEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT &&value)
AWS_DYNAMODB_API EnableKinesisStreamingDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DYNAMODB_API EnableKinesisStreamingDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue