AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ResizeInfo.h
Go to the documentation of this file.
1
6#pragma once
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:
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
45 inline const Aws::String& GetResizeType() const{ return m_resizeType; }
46
50 inline bool ResizeTypeHasBeenSet() const { return m_resizeTypeHasBeenSet; }
51
55 inline void SetResizeType(const Aws::String& value) { m_resizeTypeHasBeenSet = true; m_resizeType = value; }
56
60 inline void SetResizeType(Aws::String&& value) { m_resizeTypeHasBeenSet = true; m_resizeType = std::move(value); }
61
65 inline void SetResizeType(const char* value) { m_resizeTypeHasBeenSet = true; m_resizeType.assign(value); }
66
70 inline ResizeInfo& WithResizeType(const Aws::String& value) { SetResizeType(value); return *this;}
71
75 inline ResizeInfo& WithResizeType(Aws::String&& value) { SetResizeType(std::move(value)); return *this;}
76
80 inline ResizeInfo& WithResizeType(const char* value) { SetResizeType(value); return *this;}
81
82
86 inline bool GetAllowCancelResize() const{ return m_allowCancelResize; }
87
91 inline bool AllowCancelResizeHasBeenSet() const { return m_allowCancelResizeHasBeenSet; }
92
96 inline void SetAllowCancelResize(bool value) { m_allowCancelResizeHasBeenSet = true; m_allowCancelResize = value; }
97
101 inline ResizeInfo& WithAllowCancelResize(bool value) { SetAllowCancelResize(value); return *this;}
102
103 private:
104
105 Aws::String m_resizeType;
106 bool m_resizeTypeHasBeenSet = false;
107
108 bool m_allowCancelResize;
109 bool m_allowCancelResizeHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Redshift
114} // namespace Aws
#define AWS_REDSHIFT_API
bool AllowCancelResizeHasBeenSet() const
Definition: ResizeInfo.h:91
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResizeType(Aws::String &&value)
Definition: ResizeInfo.h:60
AWS_REDSHIFT_API ResizeInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetResizeType() const
Definition: ResizeInfo.h:45
ResizeInfo & WithAllowCancelResize(bool value)
Definition: ResizeInfo.h:101
ResizeInfo & WithResizeType(Aws::String &&value)
Definition: ResizeInfo.h:75
void SetResizeType(const Aws::String &value)
Definition: ResizeInfo.h:55
void SetAllowCancelResize(bool value)
Definition: ResizeInfo.h:96
ResizeInfo & WithResizeType(const char *value)
Definition: ResizeInfo.h:80
ResizeInfo & WithResizeType(const Aws::String &value)
Definition: ResizeInfo.h:70
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:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream