AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Owner.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt
21{
22namespace Model
23{
24
30 class Owner
31 {
32 public:
33 AWS_S3CRT_API Owner();
34 AWS_S3CRT_API Owner(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3CRT_API Owner& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
50 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
51 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
52 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
53 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
54 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
55 inline Owner& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
56 inline Owner& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
57 inline Owner& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
59
61
64 inline const Aws::String& GetID() const{ return m_iD; }
65 inline bool IDHasBeenSet() const { return m_iDHasBeenSet; }
66 inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; }
67 inline void SetID(Aws::String&& value) { m_iDHasBeenSet = true; m_iD = std::move(value); }
68 inline void SetID(const char* value) { m_iDHasBeenSet = true; m_iD.assign(value); }
69 inline Owner& WithID(const Aws::String& value) { SetID(value); return *this;}
70 inline Owner& WithID(Aws::String&& value) { SetID(std::move(value)); return *this;}
71 inline Owner& WithID(const char* value) { SetID(value); return *this;}
73 private:
74
75 Aws::String m_displayName;
76 bool m_displayNameHasBeenSet = false;
77
78 Aws::String m_iD;
79 bool m_iDHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace S3Crt
84} // namespace Aws
AWS_S3CRT_API Owner(const Aws::Utils::Xml::XmlNode &xmlNode)
Owner & WithID(const Aws::String &value)
Definition Owner.h:69
void SetID(const char *value)
Definition Owner.h:68
void SetID(Aws::String &&value)
Definition Owner.h:67
Owner & WithID(const char *value)
Definition Owner.h:71
void SetDisplayName(const Aws::String &value)
Definition Owner.h:52
AWS_S3CRT_API Owner()
const Aws::String & GetDisplayName() const
Definition Owner.h:50
Owner & WithDisplayName(const Aws::String &value)
Definition Owner.h:55
AWS_S3CRT_API Owner & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDisplayName(Aws::String &&value)
Definition Owner.h:53
const Aws::String & GetID() const
Definition Owner.h:64
Owner & WithID(Aws::String &&value)
Definition Owner.h:70
void SetDisplayName(const char *value)
Definition Owner.h:54
Owner & WithDisplayName(const char *value)
Definition Owner.h:57
void SetID(const Aws::String &value)
Definition Owner.h:66
Owner & WithDisplayName(Aws::String &&value)
Definition Owner.h:56
bool DisplayNameHasBeenSet() const
Definition Owner.h:51
bool IDHasBeenSet() const
Definition Owner.h:65
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String