AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceLocation.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFormation
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDFORMATION_API ResourceLocation() = default;
36 AWS_CLOUDFORMATION_API ResourceLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFORMATION_API ResourceLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetStackName() const { return m_stackName; }
48 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
49 template<typename StackNameT = Aws::String>
50 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
51 template<typename StackNameT = Aws::String>
52 ResourceLocation& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLogicalResourceId() const { return m_logicalResourceId; }
60 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
61 template<typename LogicalResourceIdT = Aws::String>
62 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
63 template<typename LogicalResourceIdT = Aws::String>
64 ResourceLocation& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_stackName;
69 bool m_stackNameHasBeenSet = false;
70
71 Aws::String m_logicalResourceId;
72 bool m_logicalResourceIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CloudFormation
77} // namespace Aws
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API ResourceLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
ResourceLocation & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API ResourceLocation()=default
AWS_CLOUDFORMATION_API ResourceLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLogicalResourceId(LogicalResourceIdT &&value)
const Aws::String & GetLogicalResourceId() const
ResourceLocation & WithLogicalResourceId(LogicalResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream