AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3ObjectOwner.h
1
6#pragma once
7#include <aws/s3control/S3Control_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 S3Control
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_S3CONTROL_API S3ObjectOwner();
34 AWS_S3CONTROL_API S3ObjectOwner(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3CONTROL_API S3ObjectOwner& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline const Aws::String& GetID() const{ return m_iD; }
45 inline bool IDHasBeenSet() const { return m_iDHasBeenSet; }
46 inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; }
47 inline void SetID(Aws::String&& value) { m_iDHasBeenSet = true; m_iD = std::move(value); }
48 inline void SetID(const char* value) { m_iDHasBeenSet = true; m_iD.assign(value); }
49 inline S3ObjectOwner& WithID(const Aws::String& value) { SetID(value); return *this;}
50 inline S3ObjectOwner& WithID(Aws::String&& value) { SetID(std::move(value)); return *this;}
51 inline S3ObjectOwner& WithID(const char* value) { SetID(value); return *this;}
53
55
58 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
59 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
60 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
61 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
62 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
63 inline S3ObjectOwner& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
64 inline S3ObjectOwner& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
65 inline S3ObjectOwner& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
67 private:
68
69 Aws::String m_iD;
70 bool m_iDHasBeenSet = false;
71
72 Aws::String m_displayName;
73 bool m_displayNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace S3Control
78} // namespace Aws
S3ObjectOwner & WithDisplayName(const char *value)
S3ObjectOwner & WithDisplayName(const Aws::String &value)
S3ObjectOwner & WithID(Aws::String &&value)
AWS_S3CONTROL_API S3ObjectOwner & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDisplayName() const
const Aws::String & GetID() const
void SetDisplayName(const Aws::String &value)
S3ObjectOwner & WithDisplayName(Aws::String &&value)
void SetDisplayName(const char *value)
S3ObjectOwner & WithID(const char *value)
void SetID(const Aws::String &value)
void SetDisplayName(Aws::String &&value)
AWS_S3CONTROL_API S3ObjectOwner(const Aws::Utils::Xml::XmlNode &xmlNode)
S3ObjectOwner & WithID(const Aws::String &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetID(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String