AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ResourceTypeT = Aws::String>
54 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
55 template<typename ResourceTypeT = Aws::String>
56 ResourceIdentifierSummary& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetLogicalResourceIds() const { return m_logicalResourceIds; }
65 inline bool LogicalResourceIdsHasBeenSet() const { return m_logicalResourceIdsHasBeenSet; }
66 template<typename LogicalResourceIdsT = Aws::Vector<Aws::String>>
67 void SetLogicalResourceIds(LogicalResourceIdsT&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds = std::forward<LogicalResourceIdsT>(value); }
68 template<typename LogicalResourceIdsT = Aws::Vector<Aws::String>>
69 ResourceIdentifierSummary& WithLogicalResourceIds(LogicalResourceIdsT&& value) { SetLogicalResourceIds(std::forward<LogicalResourceIdsT>(value)); return *this;}
70 template<typename LogicalResourceIdsT = Aws::String>
71 ResourceIdentifierSummary& AddLogicalResourceIds(LogicalResourceIdsT&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.emplace_back(std::forward<LogicalResourceIdsT>(value)); return *this; }
73
75
80 inline const Aws::Vector<Aws::String>& GetResourceIdentifiers() const { return m_resourceIdentifiers; }
81 inline bool ResourceIdentifiersHasBeenSet() const { return m_resourceIdentifiersHasBeenSet; }
82 template<typename ResourceIdentifiersT = Aws::Vector<Aws::String>>
83 void SetResourceIdentifiers(ResourceIdentifiersT&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = std::forward<ResourceIdentifiersT>(value); }
84 template<typename ResourceIdentifiersT = Aws::Vector<Aws::String>>
85 ResourceIdentifierSummary& WithResourceIdentifiers(ResourceIdentifiersT&& value) { SetResourceIdentifiers(std::forward<ResourceIdentifiersT>(value)); return *this;}
86 template<typename ResourceIdentifiersT = Aws::String>
87 ResourceIdentifierSummary& AddResourceIdentifiers(ResourceIdentifiersT&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.emplace_back(std::forward<ResourceIdentifiersT>(value)); return *this; }
89 private:
90
91 Aws::String m_resourceType;
92 bool m_resourceTypeHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_logicalResourceIds;
95 bool m_logicalResourceIdsHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_resourceIdentifiers;
98 bool m_resourceIdentifiersHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CloudFormation
103} // namespace Aws
ResourceIdentifierSummary & WithResourceType(ResourceTypeT &&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 & WithLogicalResourceIds(LogicalResourceIdsT &&value)
ResourceIdentifierSummary & WithResourceIdentifiers(ResourceIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetLogicalResourceIds() const
AWS_CLOUDFORMATION_API ResourceIdentifierSummary()=default
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResourceIdentifierSummary & AddLogicalResourceIds(LogicalResourceIdsT &&value)
AWS_CLOUDFORMATION_API ResourceIdentifierSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetResourceIdentifiers() const
ResourceIdentifierSummary & AddResourceIdentifiers(ResourceIdentifiersT &&value)
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