AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RebootBrokerRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kafka
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_KAFKA_API RebootBrokerRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "RebootBroker"; }
35
36 AWS_KAFKA_API Aws::String SerializePayload() const override;
37
38
40
46 inline const Aws::Vector<Aws::String>& GetBrokerIds() const{ return m_brokerIds; }
47 inline bool BrokerIdsHasBeenSet() const { return m_brokerIdsHasBeenSet; }
48 inline void SetBrokerIds(const Aws::Vector<Aws::String>& value) { m_brokerIdsHasBeenSet = true; m_brokerIds = value; }
49 inline void SetBrokerIds(Aws::Vector<Aws::String>&& value) { m_brokerIdsHasBeenSet = true; m_brokerIds = std::move(value); }
50 inline RebootBrokerRequest& WithBrokerIds(const Aws::Vector<Aws::String>& value) { SetBrokerIds(value); return *this;}
51 inline RebootBrokerRequest& WithBrokerIds(Aws::Vector<Aws::String>&& value) { SetBrokerIds(std::move(value)); return *this;}
52 inline RebootBrokerRequest& AddBrokerIds(const Aws::String& value) { m_brokerIdsHasBeenSet = true; m_brokerIds.push_back(value); return *this; }
53 inline RebootBrokerRequest& AddBrokerIds(Aws::String&& value) { m_brokerIdsHasBeenSet = true; m_brokerIds.push_back(std::move(value)); return *this; }
54 inline RebootBrokerRequest& AddBrokerIds(const char* value) { m_brokerIdsHasBeenSet = true; m_brokerIds.push_back(value); return *this; }
56
58
64 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
65 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
66 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
67 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
68 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
69 inline RebootBrokerRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
70 inline RebootBrokerRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
71 inline RebootBrokerRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_brokerIds;
76 bool m_brokerIdsHasBeenSet = false;
77
78 Aws::String m_clusterArn;
79 bool m_clusterArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
RebootBrokerRequest & AddBrokerIds(const char *value)
virtual const char * GetServiceRequestName() const override
RebootBrokerRequest & WithClusterArn(const Aws::String &value)
RebootBrokerRequest & WithClusterArn(Aws::String &&value)
void SetClusterArn(const Aws::String &value)
RebootBrokerRequest & WithClusterArn(const char *value)
void SetBrokerIds(const Aws::Vector< Aws::String > &value)
void SetBrokerIds(Aws::Vector< Aws::String > &&value)
RebootBrokerRequest & WithBrokerIds(Aws::Vector< Aws::String > &&value)
RebootBrokerRequest & WithBrokerIds(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
RebootBrokerRequest & AddBrokerIds(Aws::String &&value)
const Aws::String & GetClusterArn() const
const Aws::Vector< Aws::String > & GetBrokerIds() const
RebootBrokerRequest & AddBrokerIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector