AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FastResetToken.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/Neptunedata_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace neptunedata {
20namespace Model {
21
29 public:
30 AWS_NEPTUNEDATA_API FastResetToken() = default;
31 AWS_NEPTUNEDATA_API FastResetToken(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NEPTUNEDATA_API FastResetToken& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetToken() const { return m_token; }
42 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
43 template <typename TokenT = Aws::String>
44 void SetToken(TokenT&& value) {
45 m_tokenHasBeenSet = true;
46 m_token = std::forward<TokenT>(value);
47 }
48 template <typename TokenT = Aws::String>
49 FastResetToken& WithToken(TokenT&& value) {
50 SetToken(std::forward<TokenT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_token;
56 bool m_tokenHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace neptunedata
61} // namespace Aws
const Aws::String & GetToken() const
AWS_NEPTUNEDATA_API FastResetToken()=default
FastResetToken & WithToken(TokenT &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEDATA_API FastResetToken(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEDATA_API FastResetToken & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue