AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountWithRestoreAccess.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
33 {
34 public:
35 AWS_REDSHIFT_API AccountWithRestoreAccess();
36 AWS_REDSHIFT_API AccountWithRestoreAccess(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline AccountWithRestoreAccess& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline AccountWithRestoreAccess& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline AccountWithRestoreAccess& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
64 inline const Aws::String& GetAccountAlias() const{ return m_accountAlias; }
65 inline bool AccountAliasHasBeenSet() const { return m_accountAliasHasBeenSet; }
66 inline void SetAccountAlias(const Aws::String& value) { m_accountAliasHasBeenSet = true; m_accountAlias = value; }
67 inline void SetAccountAlias(Aws::String&& value) { m_accountAliasHasBeenSet = true; m_accountAlias = std::move(value); }
68 inline void SetAccountAlias(const char* value) { m_accountAliasHasBeenSet = true; m_accountAlias.assign(value); }
69 inline AccountWithRestoreAccess& WithAccountAlias(const Aws::String& value) { SetAccountAlias(value); return *this;}
70 inline AccountWithRestoreAccess& WithAccountAlias(Aws::String&& value) { SetAccountAlias(std::move(value)); return *this;}
71 inline AccountWithRestoreAccess& WithAccountAlias(const char* value) { SetAccountAlias(value); return *this;}
73 private:
74
75 Aws::String m_accountId;
76 bool m_accountIdHasBeenSet = false;
77
78 Aws::String m_accountAlias;
79 bool m_accountAliasHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Redshift
84} // namespace Aws
AWS_REDSHIFT_API AccountWithRestoreAccess & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountWithRestoreAccess & WithAccountId(const Aws::String &value)
AccountWithRestoreAccess & WithAccountId(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AccountWithRestoreAccess & WithAccountAlias(const Aws::String &value)
AWS_REDSHIFT_API AccountWithRestoreAccess(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountWithRestoreAccess & WithAccountAlias(Aws::String &&value)
AccountWithRestoreAccess & WithAccountId(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccountWithRestoreAccess & WithAccountAlias(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream