AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScannedResourceIdentifier.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFormation
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDFORMATION_API ScannedResourceIdentifier();
38 AWS_CLOUDFORMATION_API ScannedResourceIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFORMATION_API ScannedResourceIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
53 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
54 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
55 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
56 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
57 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
58 inline ScannedResourceIdentifier& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
59 inline ScannedResourceIdentifier& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
60 inline ScannedResourceIdentifier& WithResourceType(const char* value) { SetResourceType(value); return *this;}
62
64
75 inline const Aws::Map<Aws::String, Aws::String>& GetResourceIdentifier() const{ return m_resourceIdentifier; }
76 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
77 inline void SetResourceIdentifier(const Aws::Map<Aws::String, Aws::String>& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
78 inline void SetResourceIdentifier(Aws::Map<Aws::String, Aws::String>&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
81 inline ScannedResourceIdentifier& AddResourceIdentifier(const Aws::String& key, const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(key, value); return *this; }
82 inline ScannedResourceIdentifier& AddResourceIdentifier(Aws::String&& key, const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(std::move(key), value); return *this; }
83 inline ScannedResourceIdentifier& AddResourceIdentifier(const Aws::String& key, Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(key, std::move(value)); return *this; }
84 inline ScannedResourceIdentifier& AddResourceIdentifier(Aws::String&& key, Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(std::move(key), std::move(value)); return *this; }
85 inline ScannedResourceIdentifier& AddResourceIdentifier(const char* key, Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(key, std::move(value)); return *this; }
86 inline ScannedResourceIdentifier& AddResourceIdentifier(Aws::String&& key, const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(std::move(key), value); return *this; }
87 inline ScannedResourceIdentifier& AddResourceIdentifier(const char* key, const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.emplace(key, value); return *this; }
89 private:
90
91 Aws::String m_resourceType;
92 bool m_resourceTypeHasBeenSet = false;
93
94 Aws::Map<Aws::String, Aws::String> m_resourceIdentifier;
95 bool m_resourceIdentifierHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CloudFormation
100} // namespace Aws
ScannedResourceIdentifier & WithResourceIdentifier(const Aws::Map< Aws::String, Aws::String > &value)
ScannedResourceIdentifier & AddResourceIdentifier(const char *key, Aws::String &&value)
ScannedResourceIdentifier & AddResourceIdentifier(const Aws::String &key, const Aws::String &value)
void SetResourceIdentifier(Aws::Map< Aws::String, Aws::String > &&value)
ScannedResourceIdentifier & WithResourceType(const Aws::String &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResourceIdentifier(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScannedResourceIdentifier & WithResourceIdentifier(Aws::Map< Aws::String, Aws::String > &&value)
ScannedResourceIdentifier & AddResourceIdentifier(Aws::String &&key, Aws::String &&value)
ScannedResourceIdentifier & AddResourceIdentifier(const char *key, const char *value)
ScannedResourceIdentifier & AddResourceIdentifier(Aws::String &&key, const char *value)
ScannedResourceIdentifier & AddResourceIdentifier(const Aws::String &key, Aws::String &&value)
ScannedResourceIdentifier & WithResourceType(const char *value)
AWS_CLOUDFORMATION_API ScannedResourceIdentifier(const Aws::Utils::Xml::XmlNode &xmlNode)
ScannedResourceIdentifier & AddResourceIdentifier(Aws::String &&key, const Aws::String &value)
AWS_CLOUDFORMATION_API ScannedResourceIdentifier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ScannedResourceIdentifier & WithResourceType(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResourceIdentifier() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream