/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Transfer
{
namespace Model
{
/**
* A container object for the session details that are associated with a
* workflow.
See Also:
AWS
* API Reference
*/
class ServiceMetadata
{
public:
AWS_TRANSFER_API ServiceMetadata();
AWS_TRANSFER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue);
AWS_TRANSFER_API ServiceMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The Server ID (ServerId
), Session ID (SessionId
)
* and user (UserName
) make up the UserDetails
.
*/
inline const UserDetails& GetUserDetails() const{ return m_userDetails; }
/**
* The Server ID (ServerId
), Session ID (SessionId
)
* and user (UserName
) make up the UserDetails
.
*/
inline bool UserDetailsHasBeenSet() const { return m_userDetailsHasBeenSet; }
/**
* The Server ID (ServerId
), Session ID (SessionId
)
* and user (UserName
) make up the UserDetails
.
*/
inline void SetUserDetails(const UserDetails& value) { m_userDetailsHasBeenSet = true; m_userDetails = value; }
/**
* The Server ID (ServerId
), Session ID (SessionId
)
* and user (UserName
) make up the UserDetails
.
*/
inline void SetUserDetails(UserDetails&& value) { m_userDetailsHasBeenSet = true; m_userDetails = std::move(value); }
/**
* The Server ID (ServerId
), Session ID (SessionId
)
* and user (UserName
) make up the UserDetails
.
*/
inline ServiceMetadata& WithUserDetails(const UserDetails& value) { SetUserDetails(value); return *this;}
/**
* The Server ID (ServerId
), Session ID (SessionId
)
* and user (UserName
) make up the UserDetails
.
*/
inline ServiceMetadata& WithUserDetails(UserDetails&& value) { SetUserDetails(std::move(value)); return *this;}
private:
UserDetails m_userDetails;
bool m_userDetailsHasBeenSet = false;
};
} // namespace Model
} // namespace Transfer
} // namespace Aws