AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCards(const Aws::Vector<CardInput>& value) { m_cardsHasBeenSet = true; m_cards = value; }
49 inline void SetCards(Aws::Vector<CardInput>&& value) { m_cardsHasBeenSet = true; m_cards = std::move(value); }
50 inline AppDefinitionInput& WithCards(const Aws::Vector<CardInput>& value) { SetCards(value); return *this;}
51 inline AppDefinitionInput& WithCards(Aws::Vector<CardInput>&& value) { SetCards(std::move(value)); return *this;}
52 inline AppDefinitionInput& AddCards(const CardInput& value) { m_cardsHasBeenSet = true; m_cards.push_back(value); return *this; }
53 inline AppDefinitionInput& AddCards(CardInput&& value) { m_cardsHasBeenSet = true; m_cards.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::String& GetInitialPrompt() const{ return m_initialPrompt; }
61 inline bool InitialPromptHasBeenSet() const { return m_initialPromptHasBeenSet; }
62 inline void SetInitialPrompt(const Aws::String& value) { m_initialPromptHasBeenSet = true; m_initialPrompt = value; }
63 inline void SetInitialPrompt(Aws::String&& value) { m_initialPromptHasBeenSet = true; m_initialPrompt = std::move(value); }
64 inline void SetInitialPrompt(const char* value) { m_initialPromptHasBeenSet = true; m_initialPrompt.assign(value); }
65 inline AppDefinitionInput& WithInitialPrompt(const Aws::String& value) { SetInitialPrompt(value); return *this;}
66 inline AppDefinitionInput& WithInitialPrompt(Aws::String&& value) { SetInitialPrompt(std::move(value)); return *this;}
67 inline AppDefinitionInput& WithInitialPrompt(const char* value) { SetInitialPrompt(value); return *this;}
69 private:
70
72 bool m_cardsHasBeenSet = false;
73
74 Aws::String m_initialPrompt;
75 bool m_initialPromptHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QApps
80} // namespace Aws
void SetCards(Aws::Vector< CardInput > &&value)
AppDefinitionInput & WithCards(Aws::Vector< CardInput > &&value)
AWS_QAPPS_API AppDefinitionInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInitialPrompt() const
AppDefinitionInput & WithInitialPrompt(Aws::String &&value)
AppDefinitionInput & WithInitialPrompt(const Aws::String &value)
const Aws::Vector< CardInput > & GetCards() const
AppDefinitionInput & WithCards(const Aws::Vector< CardInput > &value)
AppDefinitionInput & WithInitialPrompt(const char *value)
AppDefinitionInput & AddCards(const CardInput &value)
void SetCards(const Aws::Vector< CardInput > &value)
AWS_QAPPS_API AppDefinitionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitialPrompt(const Aws::String &value)
void SetInitialPrompt(Aws::String &&value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AppDefinitionInput & AddCards(CardInput &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue