AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceDetails.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/ResourceConfigurationSchemaType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONFIGSERVICE_API ResourceDetails();
37 AWS_CONFIGSERVICE_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API ResourceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
47 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
48 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
49 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
50 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
51 inline ResourceDetails& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
52 inline ResourceDetails& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
53 inline ResourceDetails& WithResourceId(const char* value) { SetResourceId(value); return *this;}
55
57
60 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
61 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
62 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
63 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
64 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
65 inline ResourceDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
66 inline ResourceDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
67 inline ResourceDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
69
71
75 inline const Aws::String& GetResourceConfiguration() const{ return m_resourceConfiguration; }
76 inline bool ResourceConfigurationHasBeenSet() const { return m_resourceConfigurationHasBeenSet; }
77 inline void SetResourceConfiguration(const Aws::String& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = value; }
78 inline void SetResourceConfiguration(Aws::String&& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = std::move(value); }
79 inline void SetResourceConfiguration(const char* value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration.assign(value); }
81 inline ResourceDetails& WithResourceConfiguration(Aws::String&& value) { SetResourceConfiguration(std::move(value)); return *this;}
82 inline ResourceDetails& WithResourceConfiguration(const char* value) { SetResourceConfiguration(value); return *this;}
84
86
100 inline const ResourceConfigurationSchemaType& GetResourceConfigurationSchemaType() const{ return m_resourceConfigurationSchemaType; }
101 inline bool ResourceConfigurationSchemaTypeHasBeenSet() const { return m_resourceConfigurationSchemaTypeHasBeenSet; }
102 inline void SetResourceConfigurationSchemaType(const ResourceConfigurationSchemaType& value) { m_resourceConfigurationSchemaTypeHasBeenSet = true; m_resourceConfigurationSchemaType = value; }
103 inline void SetResourceConfigurationSchemaType(ResourceConfigurationSchemaType&& value) { m_resourceConfigurationSchemaTypeHasBeenSet = true; m_resourceConfigurationSchemaType = std::move(value); }
107 private:
108
109 Aws::String m_resourceId;
110 bool m_resourceIdHasBeenSet = false;
111
112 Aws::String m_resourceType;
113 bool m_resourceTypeHasBeenSet = false;
114
115 Aws::String m_resourceConfiguration;
116 bool m_resourceConfigurationHasBeenSet = false;
117
118 ResourceConfigurationSchemaType m_resourceConfigurationSchemaType;
119 bool m_resourceConfigurationSchemaTypeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ConfigService
124} // namespace Aws
void SetResourceConfiguration(Aws::String &&value)
ResourceDetails & WithResourceId(Aws::String &&value)
ResourceDetails & WithResourceConfigurationSchemaType(ResourceConfigurationSchemaType &&value)
void SetResourceId(const Aws::String &value)
void SetResourceConfiguration(const char *value)
ResourceDetails & WithResourceType(Aws::String &&value)
AWS_CONFIGSERVICE_API ResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceConfiguration(const Aws::String &value)
void SetResourceConfigurationSchemaType(const ResourceConfigurationSchemaType &value)
ResourceDetails & WithResourceId(const char *value)
ResourceDetails & WithResourceType(const char *value)
AWS_CONFIGSERVICE_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
const ResourceConfigurationSchemaType & GetResourceConfigurationSchemaType() const
const Aws::String & GetResourceConfiguration() const
void SetResourceConfigurationSchemaType(ResourceConfigurationSchemaType &&value)
void SetResourceType(const Aws::String &value)
ResourceDetails & WithResourceConfiguration(const Aws::String &value)
const Aws::String & GetResourceId() const
const Aws::String & GetResourceType() const
ResourceDetails & WithResourceConfiguration(const char *value)
ResourceDetails & WithResourceConfiguration(Aws::String &&value)
ResourceDetails & WithResourceId(const Aws::String &value)
ResourceDetails & WithResourceConfigurationSchemaType(const ResourceConfigurationSchemaType &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDetails & WithResourceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue