AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventBusResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CloudWatchEvents
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CLOUDWATCHEVENTS_API DescribeEventBusResult();
33
34
36
40 inline const Aws::String& GetName() const{ return m_name; }
41 inline void SetName(const Aws::String& value) { m_name = value; }
42 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
43 inline void SetName(const char* value) { m_name.assign(value); }
44 inline DescribeEventBusResult& WithName(const Aws::String& value) { SetName(value); return *this;}
45 inline DescribeEventBusResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
46 inline DescribeEventBusResult& WithName(const char* value) { SetName(value); return *this;}
48
50
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline void SetArn(const Aws::String& value) { m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58 inline DescribeEventBusResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline DescribeEventBusResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline DescribeEventBusResult& WithArn(const char* value) { SetArn(value); return *this;}
62
64
68 inline const Aws::String& GetPolicy() const{ return m_policy; }
69 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
70 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
71 inline void SetPolicy(const char* value) { m_policy.assign(value); }
72 inline DescribeEventBusResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
73 inline DescribeEventBusResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
74 inline DescribeEventBusResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline DescribeEventBusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline DescribeEventBusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline DescribeEventBusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_name;
90
91 Aws::String m_arn;
92
93 Aws::String m_policy;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace CloudWatchEvents
100} // namespace Aws
DescribeEventBusResult & WithArn(const Aws::String &value)
DescribeEventBusResult & WithArn(const char *value)
DescribeEventBusResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API DescribeEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventBusResult & WithName(const Aws::String &value)
DescribeEventBusResult & WithName(Aws::String &&value)
DescribeEventBusResult & WithPolicy(const Aws::String &value)
DescribeEventBusResult & WithArn(Aws::String &&value)
DescribeEventBusResult & WithRequestId(const Aws::String &value)
DescribeEventBusResult & WithName(const char *value)
AWS_CLOUDWATCHEVENTS_API DescribeEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventBusResult & WithRequestId(const char *value)
DescribeEventBusResult & WithPolicy(Aws::String &&value)
DescribeEventBusResult & WithPolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue