AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Intent.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelBuildingService
22{
23namespace Model
24{
25
31 class Intent
32 {
33 public:
34 AWS_LEXMODELBUILDINGSERVICE_API Intent() = default;
35 AWS_LEXMODELBUILDINGSERVICE_API Intent(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELBUILDINGSERVICE_API Intent& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetIntentName() const { return m_intentName; }
45 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
46 template<typename IntentNameT = Aws::String>
47 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet = true; m_intentName = std::forward<IntentNameT>(value); }
48 template<typename IntentNameT = Aws::String>
49 Intent& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetIntentVersion() const { return m_intentVersion; }
57 inline bool IntentVersionHasBeenSet() const { return m_intentVersionHasBeenSet; }
58 template<typename IntentVersionT = Aws::String>
59 void SetIntentVersion(IntentVersionT&& value) { m_intentVersionHasBeenSet = true; m_intentVersion = std::forward<IntentVersionT>(value); }
60 template<typename IntentVersionT = Aws::String>
61 Intent& WithIntentVersion(IntentVersionT&& value) { SetIntentVersion(std::forward<IntentVersionT>(value)); return *this;}
63 private:
64
65 Aws::String m_intentName;
66 bool m_intentNameHasBeenSet = false;
67
68 Aws::String m_intentVersion;
69 bool m_intentVersionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LexModelBuildingService
74} // namespace Aws
Intent & WithIntentVersion(IntentVersionT &&value)
Definition Intent.h:61
AWS_LEXMODELBUILDINGSERVICE_API Intent(Aws::Utils::Json::JsonView jsonValue)
Intent & WithIntentName(IntentNameT &&value)
Definition Intent.h:49
AWS_LEXMODELBUILDINGSERVICE_API Intent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntentName(IntentNameT &&value)
Definition Intent.h:47
const Aws::String & GetIntentName() const
Definition Intent.h:44
const Aws::String & GetIntentVersion() const
Definition Intent.h:56
AWS_LEXMODELBUILDINGSERVICE_API Intent()=default
void SetIntentVersion(IntentVersionT &&value)
Definition Intent.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue