AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateLifecyclePolicyResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder {
22namespace Model {
24 public:
25 AWS_IMAGEBUILDER_API CreateLifecyclePolicyResult() = default;
28
30
33 inline const Aws::String& GetClientToken() const { return m_clientToken; }
34 template <typename ClientTokenT = Aws::String>
35 void SetClientToken(ClientTokenT&& value) {
36 m_clientTokenHasBeenSet = true;
37 m_clientToken = std::forward<ClientTokenT>(value);
38 }
39 template <typename ClientTokenT = Aws::String>
41 SetClientToken(std::forward<ClientTokenT>(value));
42 return *this;
43 }
45
47
51 inline const Aws::String& GetLifecyclePolicyArn() const { return m_lifecyclePolicyArn; }
52 template <typename LifecyclePolicyArnT = Aws::String>
53 void SetLifecyclePolicyArn(LifecyclePolicyArnT&& value) {
54 m_lifecyclePolicyArnHasBeenSet = true;
55 m_lifecyclePolicyArn = std::forward<LifecyclePolicyArnT>(value);
56 }
57 template <typename LifecyclePolicyArnT = Aws::String>
59 SetLifecyclePolicyArn(std::forward<LifecyclePolicyArnT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_clientToken;
80
81 Aws::String m_lifecyclePolicyArn;
82
83 Aws::String m_requestId;
84 bool m_clientTokenHasBeenSet = false;
85 bool m_lifecyclePolicyArnHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace imagebuilder
91} // namespace Aws
AWS_IMAGEBUILDER_API CreateLifecyclePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLifecyclePolicyResult & WithRequestId(RequestIdT &&value)
AWS_IMAGEBUILDER_API CreateLifecyclePolicyResult()=default
AWS_IMAGEBUILDER_API CreateLifecyclePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLifecyclePolicyResult & WithLifecyclePolicyArn(LifecyclePolicyArnT &&value)
CreateLifecyclePolicyResult & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue