AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AppDefinitionInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/model/CardInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QApps
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QAPPS_API AppDefinitionInput() = default;
39 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<CardInput>& GetCards() const { return m_cards; }
47 inline bool CardsHasBeenSet() const { return m_cardsHasBeenSet; }
48 template<typename CardsT = Aws::Vector<CardInput>>
49 void SetCards(CardsT&& value) { m_cardsHasBeenSet = true; m_cards = std::forward<CardsT>(value); }
50 template<typename CardsT = Aws::Vector<CardInput>>
51 AppDefinitionInput& WithCards(CardsT&& value) { SetCards(std::forward<CardsT>(value)); return *this;}
52 template<typename CardsT = CardInput>
53 AppDefinitionInput& AddCards(CardsT&& value) { m_cardsHasBeenSet = true; m_cards.emplace_back(std::forward<CardsT>(value)); return *this; }
55
57
60 inline const Aws::String& GetInitialPrompt() const { return m_initialPrompt; }
61 inline bool InitialPromptHasBeenSet() const { return m_initialPromptHasBeenSet; }
62 template<typename InitialPromptT = Aws::String>
63 void SetInitialPrompt(InitialPromptT&& value) { m_initialPromptHasBeenSet = true; m_initialPrompt = std::forward<InitialPromptT>(value); }
64 template<typename InitialPromptT = Aws::String>
65 AppDefinitionInput& WithInitialPrompt(InitialPromptT&& value) { SetInitialPrompt(std::forward<InitialPromptT>(value)); return *this;}
67 private:
68
70 bool m_cardsHasBeenSet = false;
71
72 Aws::String m_initialPrompt;
73 bool m_initialPromptHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QApps
78} // namespace Aws
AppDefinitionInput & WithInitialPrompt(InitialPromptT &&value)
AWS_QAPPS_API AppDefinitionInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInitialPrompt() const
AppDefinitionInput & WithCards(CardsT &&value)
const Aws::Vector< CardInput > & GetCards() const
AWS_QAPPS_API AppDefinitionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitialPrompt(InitialPromptT &&value)
AppDefinitionInput & AddCards(CardsT &&value)
AWS_QAPPS_API AppDefinitionInput()=default
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue