AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProvisionedResource.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/model/ProvisionedResourceEngine.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Proton
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PROTON_API ProvisionedResource() = default;
38 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIdentifier() const { return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
47 template<typename IdentifierT = Aws::String>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
49 template<typename IdentifierT = Aws::String>
50 ProvisionedResource& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 ProvisionedResource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
74 inline ProvisionedResourceEngine GetProvisioningEngine() const { return m_provisioningEngine; }
75 inline bool ProvisioningEngineHasBeenSet() const { return m_provisioningEngineHasBeenSet; }
76 inline void SetProvisioningEngine(ProvisionedResourceEngine value) { m_provisioningEngineHasBeenSet = true; m_provisioningEngine = value; }
79 private:
80
81 Aws::String m_identifier;
82 bool m_identifierHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
88 bool m_provisioningEngineHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Proton
93} // namespace Aws
ProvisionedResource & WithName(NameT &&value)
AWS_PROTON_API ProvisionedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvisioningEngine(ProvisionedResourceEngine value)
ProvisionedResource & WithProvisioningEngine(ProvisionedResourceEngine value)
const Aws::String & GetIdentifier() const
AWS_PROTON_API ProvisionedResource()=default
AWS_PROTON_API ProvisionedResource(Aws::Utils::Json::JsonView jsonValue)
ProvisionedResourceEngine GetProvisioningEngine() const
ProvisionedResource & WithIdentifier(IdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue