AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoStreams.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cognito-sync/model/StreamingStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CognitoSync
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_COGNITOSYNC_API CognitoStreams();
36 AWS_COGNITOSYNC_API CognitoStreams(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COGNITOSYNC_API CognitoStreams& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetStreamName() const{ return m_streamName; }
47 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
48 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
49 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
50 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
51 inline CognitoStreams& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
52 inline CognitoStreams& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
53 inline CognitoStreams& WithStreamName(const char* value) { SetStreamName(value); return *this;}
55
57
62 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
63 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
64 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
65 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
66 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
67 inline CognitoStreams& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
68 inline CognitoStreams& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
69 inline CognitoStreams& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
71
73
79 inline const StreamingStatus& GetStreamingStatus() const{ return m_streamingStatus; }
80 inline bool StreamingStatusHasBeenSet() const { return m_streamingStatusHasBeenSet; }
81 inline void SetStreamingStatus(const StreamingStatus& value) { m_streamingStatusHasBeenSet = true; m_streamingStatus = value; }
82 inline void SetStreamingStatus(StreamingStatus&& value) { m_streamingStatusHasBeenSet = true; m_streamingStatus = std::move(value); }
83 inline CognitoStreams& WithStreamingStatus(const StreamingStatus& value) { SetStreamingStatus(value); return *this;}
84 inline CognitoStreams& WithStreamingStatus(StreamingStatus&& value) { SetStreamingStatus(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_streamName;
89 bool m_streamNameHasBeenSet = false;
90
91 Aws::String m_roleArn;
92 bool m_roleArnHasBeenSet = false;
93
94 StreamingStatus m_streamingStatus;
95 bool m_streamingStatusHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CognitoSync
100} // namespace Aws
CognitoStreams & WithStreamingStatus(StreamingStatus &&value)
void SetStreamingStatus(StreamingStatus &&value)
AWS_COGNITOSYNC_API CognitoStreams & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoStreams & WithRoleArn(const Aws::String &value)
CognitoStreams & WithStreamName(const Aws::String &value)
const Aws::String & GetStreamName() const
CognitoStreams & WithStreamName(const char *value)
CognitoStreams & WithRoleArn(const char *value)
void SetStreamName(const Aws::String &value)
CognitoStreams & WithRoleArn(Aws::String &&value)
void SetStreamingStatus(const StreamingStatus &value)
CognitoStreams & WithStreamingStatus(const StreamingStatus &value)
void SetRoleArn(const Aws::String &value)
void SetStreamName(Aws::String &&value)
CognitoStreams & WithStreamName(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArn() const
AWS_COGNITOSYNC_API CognitoStreams(Aws::Utils::Json::JsonView jsonValue)
const StreamingStatus & GetStreamingStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue