AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeHook.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
33 {
34 public:
35 AWS_LEXMODELBUILDINGSERVICE_API CodeHook();
36 AWS_LEXMODELBUILDINGSERVICE_API CodeHook(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELBUILDINGSERVICE_API CodeHook& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUri() const{ return m_uri; }
46 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
47 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
48 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
49 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
50 inline CodeHook& WithUri(const Aws::String& value) { SetUri(value); return *this;}
51 inline CodeHook& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
52 inline CodeHook& WithUri(const char* value) { SetUri(value); return *this;}
54
56
60 inline const Aws::String& GetMessageVersion() const{ return m_messageVersion; }
61 inline bool MessageVersionHasBeenSet() const { return m_messageVersionHasBeenSet; }
62 inline void SetMessageVersion(const Aws::String& value) { m_messageVersionHasBeenSet = true; m_messageVersion = value; }
63 inline void SetMessageVersion(Aws::String&& value) { m_messageVersionHasBeenSet = true; m_messageVersion = std::move(value); }
64 inline void SetMessageVersion(const char* value) { m_messageVersionHasBeenSet = true; m_messageVersion.assign(value); }
65 inline CodeHook& WithMessageVersion(const Aws::String& value) { SetMessageVersion(value); return *this;}
66 inline CodeHook& WithMessageVersion(Aws::String&& value) { SetMessageVersion(std::move(value)); return *this;}
67 inline CodeHook& WithMessageVersion(const char* value) { SetMessageVersion(value); return *this;}
69 private:
70
71 Aws::String m_uri;
72 bool m_uriHasBeenSet = false;
73
74 Aws::String m_messageVersion;
75 bool m_messageVersionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LexModelBuildingService
80} // namespace Aws
CodeHook & WithMessageVersion(const char *value)
Definition CodeHook.h:67
CodeHook & WithMessageVersion(Aws::String &&value)
Definition CodeHook.h:66
CodeHook & WithUri(Aws::String &&value)
Definition CodeHook.h:51
void SetMessageVersion(const char *value)
Definition CodeHook.h:64
CodeHook & WithUri(const char *value)
Definition CodeHook.h:52
AWS_LEXMODELBUILDINGSERVICE_API CodeHook(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessageVersion() const
Definition CodeHook.h:60
CodeHook & WithUri(const Aws::String &value)
Definition CodeHook.h:50
const Aws::String & GetUri() const
Definition CodeHook.h:45
void SetUri(const Aws::String &value)
Definition CodeHook.h:47
AWS_LEXMODELBUILDINGSERVICE_API CodeHook()
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CodeHook & WithMessageVersion(const Aws::String &value)
Definition CodeHook.h:65
void SetMessageVersion(const Aws::String &value)
Definition CodeHook.h:62
AWS_LEXMODELBUILDINGSERVICE_API CodeHook & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessageVersion(Aws::String &&value)
Definition CodeHook.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue