AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline UpdateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline UpdateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline UpdateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
68 private:
69
70 bool m_updateAvailable;
71 bool m_updateAvailableHasBeenSet = false;
72
73 Aws::String m_description;
74 bool m_descriptionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WorkSpaces
79} // namespace Aws
const Aws::String & GetDescription() const
AWS_WORKSPACES_API UpdateResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
UpdateResult & WithUpdateAvailable(bool value)
UpdateResult & WithDescription(const char *value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
AWS_WORKSPACES_API UpdateResult(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
UpdateResult & WithDescription(Aws::String &&value)
UpdateResult & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue