AWS SDK for C++  1.9.40
AWS SDK for C++
PutEventStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Pinpoint
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "PutEventStream"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 
46  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 
52  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
53 
58  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
59 
64  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
65 
70  inline PutEventStreamRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
71 
76  inline PutEventStreamRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
77 
82  inline PutEventStreamRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
83 
84 
85 
86  inline const WriteEventStream& GetWriteEventStream() const{ return m_writeEventStream; }
87 
88 
89  inline bool WriteEventStreamHasBeenSet() const { return m_writeEventStreamHasBeenSet; }
90 
91 
92  inline void SetWriteEventStream(const WriteEventStream& value) { m_writeEventStreamHasBeenSet = true; m_writeEventStream = value; }
93 
94 
95  inline void SetWriteEventStream(WriteEventStream&& value) { m_writeEventStreamHasBeenSet = true; m_writeEventStream = std::move(value); }
96 
97 
98  inline PutEventStreamRequest& WithWriteEventStream(const WriteEventStream& value) { SetWriteEventStream(value); return *this;}
99 
100 
101  inline PutEventStreamRequest& WithWriteEventStream(WriteEventStream&& value) { SetWriteEventStream(std::move(value)); return *this;}
102 
103  private:
104 
105  Aws::String m_applicationId;
106  bool m_applicationIdHasBeenSet;
107 
108  WriteEventStream m_writeEventStream;
109  bool m_writeEventStreamHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace Pinpoint
114 } // namespace Aws
Aws::Pinpoint::Model::PutEventStreamRequest::WithApplicationId
PutEventStreamRequest & WithApplicationId(const Aws::String &value)
Definition: PutEventStreamRequest.h:70
Aws::Pinpoint::Model::PutEventStreamRequest::WithWriteEventStream
PutEventStreamRequest & WithWriteEventStream(const WriteEventStream &value)
Definition: PutEventStreamRequest.h:98
Aws::Pinpoint::Model::PutEventStreamRequest::WithApplicationId
PutEventStreamRequest & WithApplicationId(Aws::String &&value)
Definition: PutEventStreamRequest.h:76
Aws::Pinpoint::Model::PutEventStreamRequest::WithWriteEventStream
PutEventStreamRequest & WithWriteEventStream(WriteEventStream &&value)
Definition: PutEventStreamRequest.h:101
AWS_PINPOINT_API
#define AWS_PINPOINT_API
Definition: Pinpoint_EXPORTS.h:28
Aws::Pinpoint::Model::PutEventStreamRequest::SetWriteEventStream
void SetWriteEventStream(const WriteEventStream &value)
Definition: PutEventStreamRequest.h:92
Aws::Pinpoint::Model::PutEventStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Pinpoint::Model::PutEventStreamRequest::SetWriteEventStream
void SetWriteEventStream(WriteEventStream &&value)
Definition: PutEventStreamRequest.h:95
Aws::Pinpoint::Model::PutEventStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutEventStreamRequest.h:31
Aws::Pinpoint::Model::PutEventStreamRequest::GetWriteEventStream
const WriteEventStream & GetWriteEventStream() const
Definition: PutEventStreamRequest.h:86
WriteEventStream.h
Aws::Pinpoint::Model::PutEventStreamRequest::WithApplicationId
PutEventStreamRequest & WithApplicationId(const char *value)
Definition: PutEventStreamRequest.h:82
Pinpoint_EXPORTS.h
Aws::Pinpoint::Model::PutEventStreamRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: PutEventStreamRequest.h:64
AWSString.h
Aws::Pinpoint::PinpointRequest
Definition: PinpointRequest.h:17
Aws::Pinpoint::Model::PutEventStreamRequest::PutEventStreamRequest
PutEventStreamRequest()
Aws::Pinpoint::Model::PutEventStreamRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: PutEventStreamRequest.h:52
Aws::Pinpoint::Model::PutEventStreamRequest::WriteEventStreamHasBeenSet
bool WriteEventStreamHasBeenSet() const
Definition: PutEventStreamRequest.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::Pinpoint::Model::PutEventStreamRequest
Definition: PutEventStreamRequest.h:23
Aws::Pinpoint::Model::PutEventStreamRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: PutEventStreamRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Pinpoint::Model::WriteEventStream
Definition: WriteEventStream.h:34
Aws::Pinpoint::Model::PutEventStreamRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: PutEventStreamRequest.h:40
Aws::Pinpoint::Model::PutEventStreamRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: PutEventStreamRequest.h:58
PinpointRequest.h