AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
InstanceAttributeUpdates.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
29 public:
30 AWS_LIGHTSAIL_API InstanceAttributeUpdates() = default;
33 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
53 inline const Aws::String& GetBundleId() const { return m_bundleId; }
54 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
55 template <typename BundleIdT = Aws::String>
56 void SetBundleId(BundleIdT&& value) {
57 m_bundleIdHasBeenSet = true;
58 m_bundleId = std::forward<BundleIdT>(value);
59 }
60 template <typename BundleIdT = Aws::String>
62 SetBundleId(std::forward<BundleIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_bundleId;
68 bool m_bundleIdHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Lightsail
73} // namespace Aws
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API InstanceAttributeUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API InstanceAttributeUpdates()=default
InstanceAttributeUpdates & WithBundleId(BundleIdT &&value)
AWS_LIGHTSAIL_API InstanceAttributeUpdates(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue