AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
51 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
52 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
53 inline ResourceDescription& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
54 inline ResourceDescription& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
55 inline ResourceDescription& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
57
59
62 inline const Aws::String& GetProperties() const{ return m_properties; }
63 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
64 inline void SetProperties(const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties = value; }
65 inline void SetProperties(Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
66 inline void SetProperties(const char* value) { m_propertiesHasBeenSet = true; m_properties.assign(value); }
67 inline ResourceDescription& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
68 inline ResourceDescription& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
69 inline ResourceDescription& WithProperties(const char* value) { SetProperties(value); return *this;}
71 private:
72
73 Aws::String m_identifier;
74 bool m_identifierHasBeenSet = false;
75
76 Aws::String m_properties;
77 bool m_propertiesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudControlApi
82} // namespace Aws
ResourceDescription & WithIdentifier(Aws::String &&value)
AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDescription & WithProperties(const char *value)
AWS_CLOUDCONTROLAPI_API ResourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDescription & WithProperties(const Aws::String &value)
ResourceDescription & WithIdentifier(const Aws::String &value)
AWS_CLOUDCONTROLAPI_API ResourceDescription(Aws::Utils::Json::JsonView jsonValue)
ResourceDescription & WithIdentifier(const char *value)
ResourceDescription & WithProperties(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue