AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LifecyclePolicyResourceSelectionRecipe.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
29 public:
30 AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelectionRecipe() = default;
33 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
60 inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
61 template <typename SemanticVersionT = Aws::String>
62 void SetSemanticVersion(SemanticVersionT&& value) {
63 m_semanticVersionHasBeenSet = true;
64 m_semanticVersion = std::forward<SemanticVersionT>(value);
65 }
66 template <typename SemanticVersionT = Aws::String>
68 SetSemanticVersion(std::forward<SemanticVersionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_name;
74
75 Aws::String m_semanticVersion;
76 bool m_nameHasBeenSet = false;
77 bool m_semanticVersionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace imagebuilder
82} // namespace Aws
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicyResourceSelectionRecipe & WithSemanticVersion(SemanticVersionT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelectionRecipe & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelectionRecipe(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue