AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceIdentifierSummary.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/AWSVector.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
36 {
37 public:
38 AWS_CLOUDFORMATION_API ResourceIdentifierSummary();
39 AWS_CLOUDFORMATION_API ResourceIdentifierSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFORMATION_API ResourceIdentifierSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
52 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
53 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
54 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
55 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
56 inline ResourceIdentifierSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
57 inline ResourceIdentifierSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
58 inline ResourceIdentifierSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;}
60
62
66 inline const Aws::Vector<Aws::String>& GetLogicalResourceIds() const{ return m_logicalResourceIds; }
67 inline bool LogicalResourceIdsHasBeenSet() const { return m_logicalResourceIdsHasBeenSet; }
68 inline void SetLogicalResourceIds(const Aws::Vector<Aws::String>& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds = value; }
69 inline void SetLogicalResourceIds(Aws::Vector<Aws::String>&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds = std::move(value); }
72 inline ResourceIdentifierSummary& AddLogicalResourceIds(const Aws::String& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.push_back(value); return *this; }
73 inline ResourceIdentifierSummary& AddLogicalResourceIds(Aws::String&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.push_back(std::move(value)); return *this; }
74 inline ResourceIdentifierSummary& AddLogicalResourceIds(const char* value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.push_back(value); return *this; }
76
78
83 inline const Aws::Vector<Aws::String>& GetResourceIdentifiers() const{ return m_resourceIdentifiers; }
84 inline bool ResourceIdentifiersHasBeenSet() const { return m_resourceIdentifiersHasBeenSet; }
85 inline void SetResourceIdentifiers(const Aws::Vector<Aws::String>& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = value; }
86 inline void SetResourceIdentifiers(Aws::Vector<Aws::String>&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = std::move(value); }
89 inline ResourceIdentifierSummary& AddResourceIdentifiers(const Aws::String& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(value); return *this; }
90 inline ResourceIdentifierSummary& AddResourceIdentifiers(Aws::String&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(std::move(value)); return *this; }
91 inline ResourceIdentifierSummary& AddResourceIdentifiers(const char* value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(value); return *this; }
93 private:
94
95 Aws::String m_resourceType;
96 bool m_resourceTypeHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_logicalResourceIds;
99 bool m_logicalResourceIdsHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_resourceIdentifiers;
102 bool m_resourceIdentifiersHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CloudFormation
107} // namespace Aws
ResourceIdentifierSummary & WithResourceIdentifiers(const Aws::Vector< Aws::String > &value)
ResourceIdentifierSummary & AddResourceIdentifiers(Aws::String &&value)
ResourceIdentifierSummary & WithResourceType(const char *value)
void SetLogicalResourceIds(const Aws::Vector< Aws::String > &value)
ResourceIdentifierSummary & WithLogicalResourceIds(const Aws::Vector< Aws::String > &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API ResourceIdentifierSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ResourceIdentifierSummary & WithResourceType(const Aws::String &value)
void SetLogicalResourceIds(Aws::Vector< Aws::String > &&value)
ResourceIdentifierSummary & AddLogicalResourceIds(Aws::String &&value)
ResourceIdentifierSummary & AddResourceIdentifiers(const Aws::String &value)
ResourceIdentifierSummary & AddLogicalResourceIds(const char *value)
void SetResourceIdentifiers(Aws::Vector< Aws::String > &&value)
void SetResourceIdentifiers(const Aws::Vector< Aws::String > &value)
ResourceIdentifierSummary & WithLogicalResourceIds(Aws::Vector< Aws::String > &&value)
ResourceIdentifierSummary & WithResourceIdentifiers(Aws::Vector< Aws::String > &&value)
ResourceIdentifierSummary & WithResourceType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetLogicalResourceIds() const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResourceIdentifierSummary & AddResourceIdentifiers(const char *value)
ResourceIdentifierSummary & AddLogicalResourceIds(const Aws::String &value)
AWS_CLOUDFORMATION_API ResourceIdentifierSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetResourceIdentifiers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream