AWS SDK for C++  1.9.158
AWS SDK for C++
BatchGetChannelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ivs/IVS_EXPORTS.h>
8 #include <aws/ivs/IVSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IVS
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 "BatchGetChannel"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::Vector<Aws::String>& GetArns() const{ return m_arns; }
40 
44  inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
45 
49  inline void SetArns(const Aws::Vector<Aws::String>& value) { m_arnsHasBeenSet = true; m_arns = value; }
50 
54  inline void SetArns(Aws::Vector<Aws::String>&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); }
55 
59  inline BatchGetChannelRequest& WithArns(const Aws::Vector<Aws::String>& value) { SetArns(value); return *this;}
60 
64  inline BatchGetChannelRequest& WithArns(Aws::Vector<Aws::String>&& value) { SetArns(std::move(value)); return *this;}
65 
69  inline BatchGetChannelRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
70 
74  inline BatchGetChannelRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; }
75 
79  inline BatchGetChannelRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
80 
81  private:
82 
84  bool m_arnsHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace IVS
89 } // namespace Aws
Aws::IVS::Model::BatchGetChannelRequest::WithArns
BatchGetChannelRequest & WithArns(Aws::Vector< Aws::String > &&value)
Definition: BatchGetChannelRequest.h:64
Aws::IVS::Model::BatchGetChannelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IVS::Model::BatchGetChannelRequest::WithArns
BatchGetChannelRequest & WithArns(const Aws::Vector< Aws::String > &value)
Definition: BatchGetChannelRequest.h:59
Aws::IVS::Model::BatchGetChannelRequest::GetArns
const Aws::Vector< Aws::String > & GetArns() const
Definition: BatchGetChannelRequest.h:39
Aws::IVS::Model::BatchGetChannelRequest::AddArns
BatchGetChannelRequest & AddArns(const char *value)
Definition: BatchGetChannelRequest.h:79
IVS_EXPORTS.h
AWS_IVS_API
#define AWS_IVS_API
Definition: IVS_EXPORTS.h:28
Aws::IVS::IVSRequest
Definition: IVSRequest.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IVS::Model::BatchGetChannelRequest::SetArns
void SetArns(Aws::Vector< Aws::String > &&value)
Definition: BatchGetChannelRequest.h:54
AWSVector.h
IVSRequest.h
Aws::IVS::Model::BatchGetChannelRequest::ArnsHasBeenSet
bool ArnsHasBeenSet() const
Definition: BatchGetChannelRequest.h:44
Aws::IVS::Model::BatchGetChannelRequest::BatchGetChannelRequest
BatchGetChannelRequest()
Aws::IVS::Model::BatchGetChannelRequest
Definition: BatchGetChannelRequest.h:23
AWSString.h
Aws::IVS::Model::BatchGetChannelRequest::AddArns
BatchGetChannelRequest & AddArns(Aws::String &&value)
Definition: BatchGetChannelRequest.h:74
Aws::IVS::Model::BatchGetChannelRequest::AddArns
BatchGetChannelRequest & AddArns(const Aws::String &value)
Definition: BatchGetChannelRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IVS::Model::BatchGetChannelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetChannelRequest.h:31
Aws::IVS::Model::BatchGetChannelRequest::SetArns
void SetArns(const Aws::Vector< Aws::String > &value)
Definition: BatchGetChannelRequest.h:49