AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ProvisionedResource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/proton/Proton_EXPORTS.h>
9#include <aws/proton/model/ProvisionedResourceEngine.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Proton {
21namespace Model {
22
29 public:
30 AWS_PROTON_API ProvisionedResource() = default;
33 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
47 ProvisionedResource& WithIdentifier(IdentifierT&& value) {
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
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) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 ProvisionedResource& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
80 inline ProvisionedResourceEngine GetProvisioningEngine() const { return m_provisioningEngine; }
81 inline bool ProvisioningEngineHasBeenSet() const { return m_provisioningEngineHasBeenSet; }
83 m_provisioningEngineHasBeenSet = true;
84 m_provisioningEngine = value;
85 }
88 return *this;
89 }
91 private:
92 Aws::String m_identifier;
93
94 Aws::String m_name;
95
97 bool m_identifierHasBeenSet = false;
98 bool m_nameHasBeenSet = false;
99 bool m_provisioningEngineHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Proton
104} // 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