AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChangeSetHookTargetDetails.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/cloudformation/model/HookTargetType.h>
10#include <aws/cloudformation/model/ChangeSetHookResourceTargetDetails.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
33 {
34 public:
35 AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails() = default;
36 AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails& 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 HookTargetType GetTargetType() const { return m_targetType; }
48 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
49 inline void SetTargetType(HookTargetType value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
52
54
57 inline const ChangeSetHookResourceTargetDetails& GetResourceTargetDetails() const { return m_resourceTargetDetails; }
58 inline bool ResourceTargetDetailsHasBeenSet() const { return m_resourceTargetDetailsHasBeenSet; }
59 template<typename ResourceTargetDetailsT = ChangeSetHookResourceTargetDetails>
60 void SetResourceTargetDetails(ResourceTargetDetailsT&& value) { m_resourceTargetDetailsHasBeenSet = true; m_resourceTargetDetails = std::forward<ResourceTargetDetailsT>(value); }
61 template<typename ResourceTargetDetailsT = ChangeSetHookResourceTargetDetails>
62 ChangeSetHookTargetDetails& WithResourceTargetDetails(ResourceTargetDetailsT&& value) { SetResourceTargetDetails(std::forward<ResourceTargetDetailsT>(value)); return *this;}
64 private:
65
67 bool m_targetTypeHasBeenSet = false;
68
69 ChangeSetHookResourceTargetDetails m_resourceTargetDetails;
70 bool m_resourceTargetDetailsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CloudFormation
75} // namespace Aws
const ChangeSetHookResourceTargetDetails & GetResourceTargetDetails() const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ChangeSetHookTargetDetails & WithTargetType(HookTargetType value)
AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails()=default
AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
ChangeSetHookTargetDetails & WithResourceTargetDetails(ResourceTargetDetailsT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream