AWS SDK for C++  1.9.103
AWS SDK for C++
GetShardIteratorResult.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 {
34  {
35  public:
39 
40 
46  inline const Aws::String& GetShardIterator() const{ return m_shardIterator; }
47 
53  inline void SetShardIterator(const Aws::String& value) { m_shardIterator = value; }
54 
60  inline void SetShardIterator(Aws::String&& value) { m_shardIterator = std::move(value); }
61 
67  inline void SetShardIterator(const char* value) { m_shardIterator.assign(value); }
68 
74  inline GetShardIteratorResult& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;}
75 
81  inline GetShardIteratorResult& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;}
82 
88  inline GetShardIteratorResult& WithShardIterator(const char* value) { SetShardIterator(value); return *this;}
89 
90  private:
91 
92  Aws::String m_shardIterator;
93  };
94 
95 } // namespace Model
96 } // namespace Kinesis
97 } // namespace Aws
Aws::Kinesis::Model::GetShardIteratorResult
Definition: GetShardIteratorResult.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::GetShardIteratorResult::WithShardIterator
GetShardIteratorResult & WithShardIterator(const char *value)
Definition: GetShardIteratorResult.h:88
Aws::Kinesis::Model::GetShardIteratorResult::WithShardIterator
GetShardIteratorResult & WithShardIterator(const Aws::String &value)
Definition: GetShardIteratorResult.h:74
Aws::Kinesis::Model::GetShardIteratorResult::GetShardIteratorResult
GetShardIteratorResult()
Aws::Kinesis::Model::GetShardIteratorResult::SetShardIterator
void SetShardIterator(Aws::String &&value)
Definition: GetShardIteratorResult.h:60
Aws::Kinesis::Model::GetShardIteratorResult::GetShardIterator
const Aws::String & GetShardIterator() const
Definition: GetShardIteratorResult.h:46
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::GetShardIteratorResult::WithShardIterator
GetShardIteratorResult & WithShardIterator(Aws::String &&value)
Definition: GetShardIteratorResult.h:81
Aws::Kinesis::Model::GetShardIteratorResult::SetShardIterator
void SetShardIterator(const char *value)
Definition: GetShardIteratorResult.h:67
Aws::Kinesis::Model::GetShardIteratorResult::GetShardIteratorResult
GetShardIteratorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Kinesis_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::GetShardIteratorResult::operator=
GetShardIteratorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::GetShardIteratorResult::SetShardIterator
void SetShardIterator(const Aws::String &value)
Definition: GetShardIteratorResult.h:53