AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Challenge.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/ChallengeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REKOGNITION_API Challenge() = default;
37 AWS_REKOGNITION_API Challenge(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Challenge& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ChallengeType GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(ChallengeType value) { m_typeHasBeenSet = true; m_type = value; }
49 inline Challenge& WithType(ChallengeType value) { SetType(value); return *this;}
51
53
56 inline const Aws::String& GetVersion() const { return m_version; }
57 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
58 template<typename VersionT = Aws::String>
59 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
60 template<typename VersionT = Aws::String>
61 Challenge& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
63 private:
64
66 bool m_typeHasBeenSet = false;
67
68 Aws::String m_version;
69 bool m_versionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
AWS_REKOGNITION_API Challenge & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(ChallengeType value)
Definition Challenge.h:48
AWS_REKOGNITION_API Challenge(Aws::Utils::Json::JsonView jsonValue)
Challenge & WithVersion(VersionT &&value)
Definition Challenge.h:61
const Aws::String & GetVersion() const
Definition Challenge.h:56
void SetVersion(VersionT &&value)
Definition Challenge.h:59
AWS_REKOGNITION_API Challenge()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
Challenge & WithType(ChallengeType value)
Definition Challenge.h:49
ChallengeType GetType() const
Definition Challenge.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue