AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 CloudControlApi
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDCONTROLAPI_API ResourceDescription() = default;
36 AWS_CLOUDCONTROLAPI_API ResourceDescription(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDCONTROLAPI_API ResourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetIdentifier() const { return m_identifier; }
49 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
50 template<typename IdentifierT = Aws::String>
51 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
52 template<typename IdentifierT = Aws::String>
53 ResourceDescription& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
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) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
64 template<typename PropertiesT = Aws::String>
65 ResourceDescription& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
67 private:
68
69 Aws::String m_identifier;
70 bool m_identifierHasBeenSet = false;
71
72 Aws::String m_properties;
73 bool m_propertiesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CloudControlApi
78} // 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