AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteResiliencyPolicyResult.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_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 ResilienceHub
24{
25namespace Model
26{
28 {
29 public:
30 AWS_RESILIENCEHUB_API DeleteResiliencyPolicyResult();
33
34
36
45 inline const Aws::String& GetPolicyArn() const{ return m_policyArn; }
46 inline void SetPolicyArn(const Aws::String& value) { m_policyArn = value; }
47 inline void SetPolicyArn(Aws::String&& value) { m_policyArn = std::move(value); }
48 inline void SetPolicyArn(const char* value) { m_policyArn.assign(value); }
49 inline DeleteResiliencyPolicyResult& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;}
50 inline DeleteResiliencyPolicyResult& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;}
51 inline DeleteResiliencyPolicyResult& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline DeleteResiliencyPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline DeleteResiliencyPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline DeleteResiliencyPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
66 Aws::String m_policyArn;
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace ResilienceHub
73} // namespace Aws
DeleteResiliencyPolicyResult & WithPolicyArn(const char *value)
DeleteResiliencyPolicyResult & WithPolicyArn(const Aws::String &value)
DeleteResiliencyPolicyResult & WithRequestId(const Aws::String &value)
AWS_RESILIENCEHUB_API DeleteResiliencyPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteResiliencyPolicyResult & WithRequestId(Aws::String &&value)
DeleteResiliencyPolicyResult & WithPolicyArn(Aws::String &&value)
DeleteResiliencyPolicyResult & WithRequestId(const char *value)
AWS_RESILIENCEHUB_API DeleteResiliencyPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue