AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddonDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API AddonDetails();
36 AWS_GUARDDUTY_API AddonDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API AddonDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAddonVersion() const{ return m_addonVersion; }
46 inline bool AddonVersionHasBeenSet() const { return m_addonVersionHasBeenSet; }
47 inline void SetAddonVersion(const Aws::String& value) { m_addonVersionHasBeenSet = true; m_addonVersion = value; }
48 inline void SetAddonVersion(Aws::String&& value) { m_addonVersionHasBeenSet = true; m_addonVersion = std::move(value); }
49 inline void SetAddonVersion(const char* value) { m_addonVersionHasBeenSet = true; m_addonVersion.assign(value); }
50 inline AddonDetails& WithAddonVersion(const Aws::String& value) { SetAddonVersion(value); return *this;}
51 inline AddonDetails& WithAddonVersion(Aws::String&& value) { SetAddonVersion(std::move(value)); return *this;}
52 inline AddonDetails& WithAddonVersion(const char* value) { SetAddonVersion(value); return *this;}
54
56
59 inline const Aws::String& GetAddonStatus() const{ return m_addonStatus; }
60 inline bool AddonStatusHasBeenSet() const { return m_addonStatusHasBeenSet; }
61 inline void SetAddonStatus(const Aws::String& value) { m_addonStatusHasBeenSet = true; m_addonStatus = value; }
62 inline void SetAddonStatus(Aws::String&& value) { m_addonStatusHasBeenSet = true; m_addonStatus = std::move(value); }
63 inline void SetAddonStatus(const char* value) { m_addonStatusHasBeenSet = true; m_addonStatus.assign(value); }
64 inline AddonDetails& WithAddonStatus(const Aws::String& value) { SetAddonStatus(value); return *this;}
65 inline AddonDetails& WithAddonStatus(Aws::String&& value) { SetAddonStatus(std::move(value)); return *this;}
66 inline AddonDetails& WithAddonStatus(const char* value) { SetAddonStatus(value); return *this;}
68 private:
69
70 Aws::String m_addonVersion;
71 bool m_addonVersionHasBeenSet = false;
72
73 Aws::String m_addonStatus;
74 bool m_addonStatusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
const Aws::String & GetAddonVersion() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddonVersion(const Aws::String &value)
void SetAddonStatus(Aws::String &&value)
AddonDetails & WithAddonVersion(const char *value)
AWS_GUARDDUTY_API AddonDetails(Aws::Utils::Json::JsonView jsonValue)
void SetAddonVersion(Aws::String &&value)
AWS_GUARDDUTY_API AddonDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAddonStatus(const char *value)
AddonDetails & WithAddonVersion(const Aws::String &value)
AddonDetails & WithAddonStatus(Aws::String &&value)
const Aws::String & GetAddonStatus() const
void SetAddonVersion(const char *value)
AddonDetails & WithAddonVersion(Aws::String &&value)
AddonDetails & WithAddonStatus(const char *value)
void SetAddonStatus(const Aws::String &value)
AddonDetails & WithAddonStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue