AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscoveredResource.h
1
6#pragma once
7#include <aws/AWSMigrationHub/MigrationHub_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 MigrationHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MIGRATIONHUB_API DiscoveredResource();
36 AWS_MIGRATIONHUB_API DiscoveredResource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
47 inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
48 inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
49 inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
50 inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
51 inline DiscoveredResource& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
52 inline DiscoveredResource& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
53 inline DiscoveredResource& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
55
57
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline DiscoveredResource& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline DiscoveredResource& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline DiscoveredResource& WithDescription(const char* value) { SetDescription(value); return *this;}
70 private:
71
72 Aws::String m_configurationId;
73 bool m_configurationIdHasBeenSet = false;
74
75 Aws::String m_description;
76 bool m_descriptionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MigrationHub
81} // namespace Aws
AWS_MIGRATIONHUB_API DiscoveredResource(Aws::Utils::Json::JsonView jsonValue)
DiscoveredResource & WithConfigurationId(Aws::String &&value)
AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DiscoveredResource & WithDescription(Aws::String &&value)
DiscoveredResource & WithDescription(const Aws::String &value)
DiscoveredResource & WithConfigurationId(const char *value)
DiscoveredResource & WithConfigurationId(const Aws::String &value)
void SetConfigurationId(const Aws::String &value)
DiscoveredResource & WithDescription(const char *value)
AWS_MIGRATIONHUB_API DiscoveredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue