7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
61 inline void SetCurrentVersion(
const char* value) { m_currentVersionHasBeenSet =
true; m_currentVersion.assign(value); }
77 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
85 bool m_clusterArnHasBeenSet =
false;
88 bool m_currentVersionHasBeenSet =
false;
91 bool m_policyHasBeenSet =
false;
void SetPolicy(Aws::String &&value)
void SetClusterArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutClusterPolicyRequest & WithClusterArn(const Aws::String &value)
PutClusterPolicyRequest & WithPolicy(const char *value)
PutClusterPolicyRequest & WithPolicy(Aws::String &&value)
PutClusterPolicyRequest & WithCurrentVersion(Aws::String &&value)
void SetClusterArn(const Aws::String &value)
void SetClusterArn(const char *value)
void SetPolicy(const char *value)
bool PolicyHasBeenSet() const
const Aws::String & GetCurrentVersion() const
bool ClusterArnHasBeenSet() const
PutClusterPolicyRequest & WithPolicy(const Aws::String &value)
void SetCurrentVersion(Aws::String &&value)
PutClusterPolicyRequest & WithClusterArn(const char *value)
void SetCurrentVersion(const char *value)
const Aws::String & GetClusterArn() const
PutClusterPolicyRequest & WithCurrentVersion(const Aws::String &value)
AWS_KAFKA_API PutClusterPolicyRequest()
AWS_KAFKA_API Aws::String SerializePayload() const override
void SetCurrentVersion(const Aws::String &value)
void SetPolicy(const Aws::String &value)
PutClusterPolicyRequest & WithCurrentVersion(const char *value)
const Aws::String & GetPolicy() const
bool CurrentVersionHasBeenSet() const
PutClusterPolicyRequest & WithClusterArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String