AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FormStyleConfig.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_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 AmplifyUIBuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API FormStyleConfig() = default;
36 AWS_AMPLIFYUIBUILDER_API FormStyleConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API FormStyleConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetTokenReference() const { return m_tokenReference; }
47 inline bool TokenReferenceHasBeenSet() const { return m_tokenReferenceHasBeenSet; }
48 template<typename TokenReferenceT = Aws::String>
49 void SetTokenReference(TokenReferenceT&& value) { m_tokenReferenceHasBeenSet = true; m_tokenReference = std::forward<TokenReferenceT>(value); }
50 template<typename TokenReferenceT = Aws::String>
51 FormStyleConfig& WithTokenReference(TokenReferenceT&& value) { SetTokenReference(std::forward<TokenReferenceT>(value)); return *this;}
53
55
58 inline const Aws::String& GetValue() const { return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 template<typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
62 template<typename ValueT = Aws::String>
63 FormStyleConfig& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
65 private:
66
67 Aws::String m_tokenReference;
68 bool m_tokenReferenceHasBeenSet = false;
69
70 Aws::String m_value;
71 bool m_valueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AmplifyUIBuilder
76} // namespace Aws
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API FormStyleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTokenReference(TokenReferenceT &&value)
const Aws::String & GetTokenReference() const
AWS_AMPLIFYUIBUILDER_API FormStyleConfig()=default
FormStyleConfig & WithValue(ValueT &&value)
FormStyleConfig & WithTokenReference(TokenReferenceT &&value)
AWS_AMPLIFYUIBUILDER_API FormStyleConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue