AWS SDK for C++  1.9.103
AWS SDK for C++
RegisterStreamConsumerResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Kinesis
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const Consumer& GetConsumer() const{ return m_consumer; }
41 
47  inline void SetConsumer(const Consumer& value) { m_consumer = value; }
48 
54  inline void SetConsumer(Consumer&& value) { m_consumer = std::move(value); }
55 
61  inline RegisterStreamConsumerResult& WithConsumer(const Consumer& value) { SetConsumer(value); return *this;}
62 
68  inline RegisterStreamConsumerResult& WithConsumer(Consumer&& value) { SetConsumer(std::move(value)); return *this;}
69 
70  private:
71 
72  Consumer m_consumer;
73  };
74 
75 } // namespace Model
76 } // namespace Kinesis
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::RegisterStreamConsumerResult::WithConsumer
RegisterStreamConsumerResult & WithConsumer(Consumer &&value)
Definition: RegisterStreamConsumerResult.h:68
Aws::Kinesis::Model::RegisterStreamConsumerResult::SetConsumer
void SetConsumer(const Consumer &value)
Definition: RegisterStreamConsumerResult.h:47
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::RegisterStreamConsumerResult::WithConsumer
RegisterStreamConsumerResult & WithConsumer(const Consumer &value)
Definition: RegisterStreamConsumerResult.h:61
Consumer.h
Aws::Kinesis::Model::RegisterStreamConsumerResult::SetConsumer
void SetConsumer(Consumer &&value)
Definition: RegisterStreamConsumerResult.h:54
Aws::Kinesis::Model::Consumer
Definition: Consumer.h:36
Aws::Kinesis::Model::RegisterStreamConsumerResult::RegisterStreamConsumerResult
RegisterStreamConsumerResult()
Aws::Kinesis::Model::RegisterStreamConsumerResult::GetConsumer
const Consumer & GetConsumer() const
Definition: RegisterStreamConsumerResult.h:40
Aws::Kinesis::Model::RegisterStreamConsumerResult::operator=
RegisterStreamConsumerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::RegisterStreamConsumerResult::RegisterStreamConsumerResult
RegisterStreamConsumerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Kinesis_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::RegisterStreamConsumerResult
Definition: RegisterStreamConsumerResult.h:28