AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ResizeInfo.h
1
6#pragma once
7#include <aws/redshift/Redshift_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 Redshift
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_REDSHIFT_API ResizeInfo() = default;
35 AWS_REDSHIFT_API ResizeInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_REDSHIFT_API ResizeInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetResizeType() const { return m_resizeType; }
47 inline bool ResizeTypeHasBeenSet() const { return m_resizeTypeHasBeenSet; }
48 template<typename ResizeTypeT = Aws::String>
49 void SetResizeType(ResizeTypeT&& value) { m_resizeTypeHasBeenSet = true; m_resizeType = std::forward<ResizeTypeT>(value); }
50 template<typename ResizeTypeT = Aws::String>
51 ResizeInfo& WithResizeType(ResizeTypeT&& value) { SetResizeType(std::forward<ResizeTypeT>(value)); return *this;}
53
55
58 inline bool GetAllowCancelResize() const { return m_allowCancelResize; }
59 inline bool AllowCancelResizeHasBeenSet() const { return m_allowCancelResizeHasBeenSet; }
60 inline void SetAllowCancelResize(bool value) { m_allowCancelResizeHasBeenSet = true; m_allowCancelResize = value; }
61 inline ResizeInfo& WithAllowCancelResize(bool value) { SetAllowCancelResize(value); return *this;}
63 private:
64
65 Aws::String m_resizeType;
66 bool m_resizeTypeHasBeenSet = false;
67
68 bool m_allowCancelResize{false};
69 bool m_allowCancelResizeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Redshift
74} // namespace Aws
ResizeInfo & WithResizeType(ResizeTypeT &&value)
Definition ResizeInfo.h:51
bool AllowCancelResizeHasBeenSet() const
Definition ResizeInfo.h:59
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API ResizeInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetResizeType() const
Definition ResizeInfo.h:46
ResizeInfo & WithAllowCancelResize(bool value)
Definition ResizeInfo.h:61
AWS_REDSHIFT_API ResizeInfo()=default
void SetAllowCancelResize(bool value)
Definition ResizeInfo.h:60
void SetResizeType(ResizeTypeT &&value)
Definition ResizeInfo.h:49
AWS_REDSHIFT_API ResizeInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream