AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MigrationHub {
20namespace Model {
21
29 public:
30 AWS_MIGRATIONHUB_API DiscoveredResource() = default;
31 AWS_MIGRATIONHUB_API DiscoveredResource(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetConfigurationId() const { return m_configurationId; }
41 inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
42 template <typename ConfigurationIdT = Aws::String>
43 void SetConfigurationId(ConfigurationIdT&& value) {
44 m_configurationIdHasBeenSet = true;
45 m_configurationId = std::forward<ConfigurationIdT>(value);
46 }
47 template <typename ConfigurationIdT = Aws::String>
48 DiscoveredResource& WithConfigurationId(ConfigurationIdT&& value) {
49 SetConfigurationId(std::forward<ConfigurationIdT>(value));
50 return *this;
51 }
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) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 DiscoveredResource& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_configurationId;
74
75 Aws::String m_description;
76 bool m_configurationIdHasBeenSet = false;
77 bool m_descriptionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MigrationHub
82} // namespace Aws
AWS_MIGRATIONHUB_API DiscoveredResource(Aws::Utils::Json::JsonView jsonValue)
DiscoveredResource & WithDescription(DescriptionT &&value)
AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DiscoveredResource & WithConfigurationId(ConfigurationIdT &&value)
void SetConfigurationId(ConfigurationIdT &&value)
AWS_MIGRATIONHUB_API DiscoveredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUB_API DiscoveredResource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue