AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const HookTargetType& GetTargetType() const{ return m_targetType; }
48 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
49 inline void SetTargetType(const HookTargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
50 inline void SetTargetType(HookTargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
51 inline ChangeSetHookTargetDetails& WithTargetType(const HookTargetType& value) { SetTargetType(value); return *this;}
52 inline ChangeSetHookTargetDetails& WithTargetType(HookTargetType&& value) { SetTargetType(std::move(value)); return *this;}
54
56
59 inline const ChangeSetHookResourceTargetDetails& GetResourceTargetDetails() const{ return m_resourceTargetDetails; }
60 inline bool ResourceTargetDetailsHasBeenSet() const { return m_resourceTargetDetailsHasBeenSet; }
61 inline void SetResourceTargetDetails(const ChangeSetHookResourceTargetDetails& value) { m_resourceTargetDetailsHasBeenSet = true; m_resourceTargetDetails = value; }
62 inline void SetResourceTargetDetails(ChangeSetHookResourceTargetDetails&& value) { m_resourceTargetDetailsHasBeenSet = true; m_resourceTargetDetails = std::move(value); }
66 private:
67
68 HookTargetType m_targetType;
69 bool m_targetTypeHasBeenSet = false;
70
71 ChangeSetHookResourceTargetDetails m_resourceTargetDetails;
72 bool m_resourceTargetDetailsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CloudFormation
77} // namespace Aws
const ChangeSetHookResourceTargetDetails & GetResourceTargetDetails() const
void SetResourceTargetDetails(ChangeSetHookResourceTargetDetails &&value)
ChangeSetHookTargetDetails & WithResourceTargetDetails(const ChangeSetHookResourceTargetDetails &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ChangeSetHookTargetDetails & WithTargetType(const HookTargetType &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ChangeSetHookTargetDetails & WithResourceTargetDetails(ChangeSetHookResourceTargetDetails &&value)
void SetResourceTargetDetails(const ChangeSetHookResourceTargetDetails &value)
ChangeSetHookTargetDetails & WithTargetType(HookTargetType &&value)
AWS_CLOUDFORMATION_API ChangeSetHookTargetDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream