/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the configuration settings for the form's style
* properties.See Also:
AWS
* API Reference
A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline const Aws::String& GetTokenReference() const{ return m_tokenReference; } /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline bool TokenReferenceHasBeenSet() const { return m_tokenReferenceHasBeenSet; } /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline void SetTokenReference(const Aws::String& value) { m_tokenReferenceHasBeenSet = true; m_tokenReference = value; } /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline void SetTokenReference(Aws::String&& value) { m_tokenReferenceHasBeenSet = true; m_tokenReference = std::move(value); } /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline void SetTokenReference(const char* value) { m_tokenReferenceHasBeenSet = true; m_tokenReference.assign(value); } /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline FormStyleConfig& WithTokenReference(const Aws::String& value) { SetTokenReference(value); return *this;} /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline FormStyleConfig& WithTokenReference(Aws::String&& value) { SetTokenReference(std::move(value)); return *this;} /** *A reference to a design token to use to bind the form's style properties to * an existing theme.
*/ inline FormStyleConfig& WithTokenReference(const char* value) { SetTokenReference(value); return *this;} /** *The value of the style setting.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The value of the style setting.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the style setting.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the style setting.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the style setting.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value of the style setting.
*/ inline FormStyleConfig& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value of the style setting.
*/ inline FormStyleConfig& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value of the style setting.
*/ inline FormStyleConfig& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_tokenReference; bool m_tokenReferenceHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws