/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure containing the session token being returned.See
* Also:
AWS
* API Reference
The actual session token being returned.
*/ inline const Aws::String& GetToken() const{ return m_token; } /** *The actual session token being returned.
*/ inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; } /** *The actual session token being returned.
*/ inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; } /** *The actual session token being returned.
*/ inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); } /** *The actual session token being returned.
*/ inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); } /** *The actual session token being returned.
*/ inline Credentials& WithToken(const Aws::String& value) { SetToken(value); return *this;} /** *The actual session token being returned.
*/ inline Credentials& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;} /** *The actual session token being returned.
*/ inline Credentials& WithToken(const char* value) { SetToken(value); return *this;} private: Aws::String m_token; bool m_tokenHasBeenSet = false; }; } // namespace Model } // namespace EMRContainers } // namespace Aws