AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename StreamIdT = Aws::String>
44 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
45 template<typename StreamIdT = Aws::String>
46 UpdateStreamRequest& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 UpdateStreamRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const Aws::Vector<StreamFile>& GetFiles() const { return m_files; }
66 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
67 template<typename FilesT = Aws::Vector<StreamFile>>
68 void SetFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files = std::forward<FilesT>(value); }
69 template<typename FilesT = Aws::Vector<StreamFile>>
70 UpdateStreamRequest& WithFiles(FilesT&& value) { SetFiles(std::forward<FilesT>(value)); return *this;}
71 template<typename FilesT = StreamFile>
72 UpdateStreamRequest& AddFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files.emplace_back(std::forward<FilesT>(value)); return *this; }
74
76
80 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
81 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
82 template<typename RoleArnT = Aws::String>
83 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
84 template<typename RoleArnT = Aws::String>
85 UpdateStreamRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
87 private:
88
89 Aws::String m_streamId;
90 bool m_streamIdHasBeenSet = false;
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
96 bool m_filesHasBeenSet = false;
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IoT
104} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleArn() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetStreamId() const
UpdateStreamRequest & AddFiles(FilesT &&value)
AWS_IOT_API UpdateStreamRequest()=default
UpdateStreamRequest & WithDescription(DescriptionT &&value)
UpdateStreamRequest & WithStreamId(StreamIdT &&value)
const Aws::String & GetDescription() const
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::Vector< StreamFile > & GetFiles() const
UpdateStreamRequest & WithFiles(FilesT &&value)
UpdateStreamRequest & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector