AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ResourceDescription.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_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 CloudControlApi {
20namespace Model {
21
29 public:
30 AWS_CLOUDCONTROLAPI_API ResourceDescription() = default;
31 AWS_CLOUDCONTROLAPI_API ResourceDescription(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDCONTROLAPI_API ResourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template <typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) {
46 m_identifierHasBeenSet = true;
47 m_identifier = std::forward<IdentifierT>(value);
48 }
49 template <typename IdentifierT = Aws::String>
50 ResourceDescription& WithIdentifier(IdentifierT&& value) {
51 SetIdentifier(std::forward<IdentifierT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetProperties() const { return m_properties; }
61 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
62 template <typename PropertiesT = Aws::String>
63 void SetProperties(PropertiesT&& value) {
64 m_propertiesHasBeenSet = true;
65 m_properties = std::forward<PropertiesT>(value);
66 }
67 template <typename PropertiesT = Aws::String>
68 ResourceDescription& WithProperties(PropertiesT&& value) {
69 SetProperties(std::forward<PropertiesT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_identifier;
75
76 Aws::String m_properties;
77 bool m_identifierHasBeenSet = false;
78 bool m_propertiesHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CloudControlApi
83} // namespace Aws
ResourceDescription & WithIdentifier(IdentifierT &&value)
AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDCONTROLAPI_API ResourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDescription & WithProperties(PropertiesT &&value)
AWS_CLOUDCONTROLAPI_API ResourceDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDCONTROLAPI_API ResourceDescription()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue