AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribeConfigurationRevisionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Kafka {
15namespace Model {
16
20 public:
21 AWS_KAFKA_API DescribeConfigurationRevisionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeConfigurationRevision"; }
28
29 AWS_KAFKA_API Aws::String SerializePayload() const override;
30
32
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
59 inline long long GetRevision() const { return m_revision; }
60 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
61 inline void SetRevision(long long value) {
62 m_revisionHasBeenSet = true;
63 m_revision = value;
64 }
66 SetRevision(value);
67 return *this;
68 }
70 private:
71 Aws::String m_arn;
72
73 long long m_revision{0};
74 bool m_arnHasBeenSet = false;
75 bool m_revisionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Kafka
80} // namespace Aws
AWS_KAFKA_API Aws::String SerializePayload() const override
DescribeConfigurationRevisionRequest & WithArn(ArnT &&value)
DescribeConfigurationRevisionRequest & WithRevision(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String