AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateResult.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkSpaces
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_WORKSPACES_API UpdateResult() = default;
38 AWS_WORKSPACES_API UpdateResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WORKSPACES_API UpdateResult& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline bool GetUpdateAvailable() const { return m_updateAvailable; }
49 inline bool UpdateAvailableHasBeenSet() const { return m_updateAvailableHasBeenSet; }
50 inline void SetUpdateAvailable(bool value) { m_updateAvailableHasBeenSet = true; m_updateAvailable = value; }
51 inline UpdateResult& WithUpdateAvailable(bool value) { SetUpdateAvailable(value); return *this;}
53
55
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template<typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 UpdateResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66 private:
67
68 bool m_updateAvailable{false};
69 bool m_updateAvailableHasBeenSet = false;
70
71 Aws::String m_description;
72 bool m_descriptionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WorkSpaces
77} // namespace Aws
const Aws::String & GetDescription() const
AWS_WORKSPACES_API UpdateResult & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateResult & WithUpdateAvailable(bool value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKSPACES_API UpdateResult(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API UpdateResult()=default
UpdateResult & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue