AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetContainerRecipeResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/ContainerRecipe.h>
10#include <aws/imagebuilder/model/LatestVersionReferences.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace imagebuilder {
24namespace Model {
26 public:
27 AWS_IMAGEBUILDER_API GetContainerRecipeResult() = default;
30
32
35 inline const Aws::String& GetRequestId() const { return m_requestId; }
36 template <typename RequestIdT = Aws::String>
37 void SetRequestId(RequestIdT&& value) {
38 m_requestIdHasBeenSet = true;
39 m_requestId = std::forward<RequestIdT>(value);
40 }
41 template <typename RequestIdT = Aws::String>
43 SetRequestId(std::forward<RequestIdT>(value));
44 return *this;
45 }
47
49
52 inline const ContainerRecipe& GetContainerRecipe() const { return m_containerRecipe; }
53 template <typename ContainerRecipeT = ContainerRecipe>
54 void SetContainerRecipe(ContainerRecipeT&& value) {
55 m_containerRecipeHasBeenSet = true;
56 m_containerRecipe = std::forward<ContainerRecipeT>(value);
57 }
58 template <typename ContainerRecipeT = ContainerRecipe>
59 GetContainerRecipeResult& WithContainerRecipe(ContainerRecipeT&& value) {
60 SetContainerRecipe(std::forward<ContainerRecipeT>(value));
61 return *this;
62 }
64
66
70 inline const LatestVersionReferences& GetLatestVersionReferences() const { return m_latestVersionReferences; }
71 template <typename LatestVersionReferencesT = LatestVersionReferences>
72 void SetLatestVersionReferences(LatestVersionReferencesT&& value) {
73 m_latestVersionReferencesHasBeenSet = true;
74 m_latestVersionReferences = std::forward<LatestVersionReferencesT>(value);
75 }
76 template <typename LatestVersionReferencesT = LatestVersionReferences>
77 GetContainerRecipeResult& WithLatestVersionReferences(LatestVersionReferencesT&& value) {
78 SetLatestVersionReferences(std::forward<LatestVersionReferencesT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_requestId;
84
85 ContainerRecipe m_containerRecipe;
86
87 LatestVersionReferences m_latestVersionReferences;
88 bool m_requestIdHasBeenSet = false;
89 bool m_containerRecipeHasBeenSet = false;
90 bool m_latestVersionReferencesHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace imagebuilder
95} // namespace Aws
void SetLatestVersionReferences(LatestVersionReferencesT &&value)
GetContainerRecipeResult & WithLatestVersionReferences(LatestVersionReferencesT &&value)
GetContainerRecipeResult & WithRequestId(RequestIdT &&value)
AWS_IMAGEBUILDER_API GetContainerRecipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IMAGEBUILDER_API GetContainerRecipeResult()=default
GetContainerRecipeResult & WithContainerRecipe(ContainerRecipeT &&value)
const LatestVersionReferences & GetLatestVersionReferences() const
AWS_IMAGEBUILDER_API GetContainerRecipeResult(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