AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
48 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
49 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
50 inline ProvisionedResource& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
51 inline ProvisionedResource& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
52 inline ProvisionedResource& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline ProvisionedResource& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline ProvisionedResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline ProvisionedResource& WithName(const char* value) { SetName(value); return *this;}
68
70
78 inline const ProvisionedResourceEngine& GetProvisioningEngine() const{ return m_provisioningEngine; }
79 inline bool ProvisioningEngineHasBeenSet() const { return m_provisioningEngineHasBeenSet; }
80 inline void SetProvisioningEngine(const ProvisionedResourceEngine& value) { m_provisioningEngineHasBeenSet = true; m_provisioningEngine = value; }
81 inline void SetProvisioningEngine(ProvisionedResourceEngine&& value) { m_provisioningEngineHasBeenSet = true; m_provisioningEngine = std::move(value); }
85 private:
86
87 Aws::String m_identifier;
88 bool m_identifierHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 ProvisionedResourceEngine m_provisioningEngine;
94 bool m_provisioningEngineHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Proton
99} // namespace Aws
AWS_PROTON_API ProvisionedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisionedResource & WithName(const Aws::String &value)
void SetProvisioningEngine(const ProvisionedResourceEngine &value)
ProvisionedResource & WithIdentifier(const char *value)
ProvisionedResource & WithName(Aws::String &&value)
const Aws::String & GetIdentifier() const
ProvisionedResource & WithIdentifier(Aws::String &&value)
ProvisionedResource & WithProvisioningEngine(ProvisionedResourceEngine &&value)
AWS_PROTON_API ProvisionedResource(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
const ProvisionedResourceEngine & GetProvisioningEngine() const
ProvisionedResource & WithName(const char *value)
void SetProvisioningEngine(ProvisionedResourceEngine &&value)
ProvisionedResource & WithProvisioningEngine(const ProvisionedResourceEngine &value)
void SetIdentifier(const Aws::String &value)
ProvisionedResource & WithIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue