68 lines
1.7 KiB
C
68 lines
1.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/connect/Connect_EXPORTS.h>
|
|||
|
|
#include <aws/connect/model/Credentials.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Connect
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_CONNECT_API GetFederationTokenResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetFederationTokenResult();
|
|||
|
|
GetFederationTokenResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetFederationTokenResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The credentials to use for federation.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Credentials& GetCredentials() const{ return m_credentials; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The credentials to use for federation.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCredentials(const Credentials& value) { m_credentials = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The credentials to use for federation.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The credentials to use for federation.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetFederationTokenResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The credentials to use for federation.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetFederationTokenResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Credentials m_credentials;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Connect
|
|||
|
|
} // namespace Aws
|