AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceMetadata.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/UserDetails.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TRANSFER_API ServiceMetadata();
36 AWS_TRANSFER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const UserDetails& GetUserDetails() const{ return m_userDetails; }
47 inline bool UserDetailsHasBeenSet() const { return m_userDetailsHasBeenSet; }
48 inline void SetUserDetails(const UserDetails& value) { m_userDetailsHasBeenSet = true; m_userDetails = value; }
49 inline void SetUserDetails(UserDetails&& value) { m_userDetailsHasBeenSet = true; m_userDetails = std::move(value); }
50 inline ServiceMetadata& WithUserDetails(const UserDetails& value) { SetUserDetails(value); return *this;}
51 inline ServiceMetadata& WithUserDetails(UserDetails&& value) { SetUserDetails(std::move(value)); return *this;}
53 private:
54
55 UserDetails m_userDetails;
56 bool m_userDetailsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Transfer
61} // namespace Aws
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserDetails(const UserDetails &value)
ServiceMetadata & WithUserDetails(const UserDetails &value)
ServiceMetadata & WithUserDetails(UserDetails &&value)
void SetUserDetails(UserDetails &&value)
AWS_TRANSFER_API ServiceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const UserDetails & GetUserDetails() const
AWS_TRANSFER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue