AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTokenReference(const Aws::String& value) { m_tokenReferenceHasBeenSet = true; m_tokenReference = value; }
49 inline void SetTokenReference(Aws::String&& value) { m_tokenReferenceHasBeenSet = true; m_tokenReference = std::move(value); }
50 inline void SetTokenReference(const char* value) { m_tokenReferenceHasBeenSet = true; m_tokenReference.assign(value); }
51 inline FormStyleConfig& WithTokenReference(const Aws::String& value) { SetTokenReference(value); return *this;}
52 inline FormStyleConfig& WithTokenReference(Aws::String&& value) { SetTokenReference(std::move(value)); return *this;}
53 inline FormStyleConfig& WithTokenReference(const char* value) { SetTokenReference(value); return *this;}
55
57
60 inline const Aws::String& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
65 inline FormStyleConfig& WithValue(const Aws::String& value) { SetValue(value); return *this;}
66 inline FormStyleConfig& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
67 inline FormStyleConfig& WithValue(const char* value) { SetValue(value); return *this;}
69 private:
70
71 Aws::String m_tokenReference;
72 bool m_tokenReferenceHasBeenSet = false;
73
74 Aws::String m_value;
75 bool m_valueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AmplifyUIBuilder
80} // namespace Aws
AWS_AMPLIFYUIBUILDER_API FormStyleConfig()
FormStyleConfig & WithValue(Aws::String &&value)
void SetValue(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTokenReference(const Aws::String &value)
FormStyleConfig & WithTokenReference(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API FormStyleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTokenReference() const
FormStyleConfig & WithValue(const char *value)
FormStyleConfig & WithValue(const Aws::String &value)
FormStyleConfig & WithTokenReference(Aws::String &&value)
FormStyleConfig & WithTokenReference(const char *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