AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetResizeType(const Aws::String& value) { m_resizeTypeHasBeenSet = true; m_resizeType = value; }
49 inline void SetResizeType(Aws::String&& value) { m_resizeTypeHasBeenSet = true; m_resizeType = std::move(value); }
50 inline void SetResizeType(const char* value) { m_resizeTypeHasBeenSet = true; m_resizeType.assign(value); }
51 inline ResizeInfo& WithResizeType(const Aws::String& value) { SetResizeType(value); return *this;}
52 inline ResizeInfo& WithResizeType(Aws::String&& value) { SetResizeType(std::move(value)); return *this;}
53 inline ResizeInfo& WithResizeType(const char* value) { SetResizeType(value); return *this;}
55
57
60 inline bool GetAllowCancelResize() const{ return m_allowCancelResize; }
61 inline bool AllowCancelResizeHasBeenSet() const { return m_allowCancelResizeHasBeenSet; }
62 inline void SetAllowCancelResize(bool value) { m_allowCancelResizeHasBeenSet = true; m_allowCancelResize = value; }
63 inline ResizeInfo& WithAllowCancelResize(bool value) { SetAllowCancelResize(value); return *this;}
65 private:
66
67 Aws::String m_resizeType;
68 bool m_resizeTypeHasBeenSet = false;
69
70 bool m_allowCancelResize;
71 bool m_allowCancelResizeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Redshift
76} // namespace Aws
bool AllowCancelResizeHasBeenSet() const
Definition ResizeInfo.h:61
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResizeType(Aws::String &&value)
Definition ResizeInfo.h:49
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:63
ResizeInfo & WithResizeType(Aws::String &&value)
Definition ResizeInfo.h:52
void SetResizeType(const Aws::String &value)
Definition ResizeInfo.h:48
void SetAllowCancelResize(bool value)
Definition ResizeInfo.h:62
ResizeInfo & WithResizeType(const char *value)
Definition ResizeInfo.h:53
ResizeInfo & WithResizeType(const Aws::String &value)
Definition ResizeInfo.h:51
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
void SetResizeType(const char *value)
Definition ResizeInfo.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream