AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRuleResult.h
1
6#pragma once
7#include <aws/connect/Connect_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 Connect
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CONNECT_API CreateRuleResult();
33
34
36
39 inline const Aws::String& GetRuleArn() const{ return m_ruleArn; }
40 inline void SetRuleArn(const Aws::String& value) { m_ruleArn = value; }
41 inline void SetRuleArn(Aws::String&& value) { m_ruleArn = std::move(value); }
42 inline void SetRuleArn(const char* value) { m_ruleArn.assign(value); }
43 inline CreateRuleResult& WithRuleArn(const Aws::String& value) { SetRuleArn(value); return *this;}
44 inline CreateRuleResult& WithRuleArn(Aws::String&& value) { SetRuleArn(std::move(value)); return *this;}
45 inline CreateRuleResult& WithRuleArn(const char* value) { SetRuleArn(value); return *this;}
47
49
52 inline const Aws::String& GetRuleId() const{ return m_ruleId; }
53 inline void SetRuleId(const Aws::String& value) { m_ruleId = value; }
54 inline void SetRuleId(Aws::String&& value) { m_ruleId = std::move(value); }
55 inline void SetRuleId(const char* value) { m_ruleId.assign(value); }
56 inline CreateRuleResult& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;}
57 inline CreateRuleResult& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;}
58 inline CreateRuleResult& WithRuleId(const char* value) { SetRuleId(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline CreateRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline CreateRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline CreateRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_ruleArn;
74
75 Aws::String m_ruleId;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Connect
82} // namespace Aws
CreateRuleResult & WithRuleId(const Aws::String &value)
CreateRuleResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
CreateRuleResult & WithRuleArn(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRuleArn() const
void SetRuleArn(const Aws::String &value)
void SetRuleId(Aws::String &&value)
CreateRuleResult & WithRequestId(const char *value)
const Aws::String & GetRuleId() const
CreateRuleResult & WithRuleId(Aws::String &&value)
CreateRuleResult & WithRuleId(const char *value)
void SetRequestId(Aws::String &&value)
CreateRuleResult & WithRequestId(Aws::String &&value)
void SetRuleArn(Aws::String &&value)
CreateRuleResult & WithRuleArn(const char *value)
CreateRuleResult & WithRuleArn(const Aws::String &value)
AWS_CONNECT_API CreateRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API CreateRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRuleId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue