AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetImageRecipePolicyResult.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_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 imagebuilder
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IMAGEBUILDER_API GetImageRecipePolicyResult() = default;
33
34
36
39 inline const Aws::String& GetRequestId() const { return m_requestId; }
40 template<typename RequestIdT = Aws::String>
41 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
42 template<typename RequestIdT = Aws::String>
43 GetImageRecipePolicyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
45
47
50 inline const Aws::String& GetPolicy() const { return m_policy; }
51 template<typename PolicyT = Aws::String>
52 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet = true; m_policy = std::forward<PolicyT>(value); }
53 template<typename PolicyT = Aws::String>
54 GetImageRecipePolicyResult& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
56 private:
57
58 Aws::String m_requestId;
59 bool m_requestIdHasBeenSet = false;
60
61 Aws::String m_policy;
62 bool m_policyHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace imagebuilder
67} // namespace Aws
GetImageRecipePolicyResult & WithRequestId(RequestIdT &&value)
GetImageRecipePolicyResult & WithPolicy(PolicyT &&value)
AWS_IMAGEBUILDER_API GetImageRecipePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IMAGEBUILDER_API GetImageRecipePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IMAGEBUILDER_API GetImageRecipePolicyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue