AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStreamRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/StreamFile.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoT
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOT_API UpdateStreamRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateStream"; }
33
34 AWS_IOT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetStreamId() const{ return m_streamId; }
42 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
43 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
44 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
45 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
46 inline UpdateStreamRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
47 inline UpdateStreamRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
48 inline UpdateStreamRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline UpdateStreamRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline UpdateStreamRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline UpdateStreamRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::Vector<StreamFile>& GetFiles() const{ return m_files; }
70 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
71 inline void SetFiles(const Aws::Vector<StreamFile>& value) { m_filesHasBeenSet = true; m_files = value; }
72 inline void SetFiles(Aws::Vector<StreamFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
73 inline UpdateStreamRequest& WithFiles(const Aws::Vector<StreamFile>& value) { SetFiles(value); return *this;}
74 inline UpdateStreamRequest& WithFiles(Aws::Vector<StreamFile>&& value) { SetFiles(std::move(value)); return *this;}
75 inline UpdateStreamRequest& AddFiles(const StreamFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
76 inline UpdateStreamRequest& AddFiles(StreamFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
78
80
84 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
85 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
86 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
87 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
88 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
89 inline UpdateStreamRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
90 inline UpdateStreamRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
91 inline UpdateStreamRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
93 private:
94
95 Aws::String m_streamId;
96 bool m_streamIdHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
102 bool m_filesHasBeenSet = false;
103
104 Aws::String m_roleArn;
105 bool m_roleArnHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoT
110} // namespace Aws
UpdateStreamRequest & WithStreamId(const char *value)
void SetFiles(const Aws::Vector< StreamFile > &value)
void SetRoleArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateStreamRequest & AddFiles(const StreamFile &value)
const Aws::String & GetRoleArn() const
UpdateStreamRequest & WithDescription(const char *value)
const Aws::String & GetStreamId() const
UpdateStreamRequest & WithStreamId(const Aws::String &value)
void SetFiles(Aws::Vector< StreamFile > &&value)
void SetDescription(const Aws::String &value)
void SetStreamId(const Aws::String &value)
UpdateStreamRequest & WithRoleArn(const char *value)
UpdateStreamRequest & WithStreamId(Aws::String &&value)
UpdateStreamRequest & AddFiles(StreamFile &&value)
UpdateStreamRequest & WithFiles(Aws::Vector< StreamFile > &&value)
UpdateStreamRequest & WithRoleArn(const Aws::String &value)
UpdateStreamRequest & WithFiles(const Aws::Vector< StreamFile > &value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
UpdateStreamRequest & WithDescription(Aws::String &&value)
UpdateStreamRequest & WithRoleArn(Aws::String &&value)
const Aws::Vector< StreamFile > & GetFiles() const
UpdateStreamRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector