AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AnchorDateConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AnchorOption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API AnchorDateConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline AnchorOption GetAnchorOption() const { return m_anchorOption; }
47 inline bool AnchorOptionHasBeenSet() const { return m_anchorOptionHasBeenSet; }
48 inline void SetAnchorOption(AnchorOption value) { m_anchorOptionHasBeenSet = true; m_anchorOption = value; }
51
53
56 inline const Aws::String& GetParameterName() const { return m_parameterName; }
57 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
58 template<typename ParameterNameT = Aws::String>
59 void SetParameterName(ParameterNameT&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::forward<ParameterNameT>(value); }
60 template<typename ParameterNameT = Aws::String>
61 AnchorDateConfiguration& WithParameterName(ParameterNameT&& value) { SetParameterName(std::forward<ParameterNameT>(value)); return *this;}
63 private:
64
65 AnchorOption m_anchorOption{AnchorOption::NOT_SET};
66 bool m_anchorOptionHasBeenSet = false;
67
68 Aws::String m_parameterName;
69 bool m_parameterNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
AWS_QUICKSIGHT_API AnchorDateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AnchorDateConfiguration()=default
AnchorDateConfiguration & WithParameterName(ParameterNameT &&value)
AWS_QUICKSIGHT_API AnchorDateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AnchorDateConfiguration & WithAnchorOption(AnchorOption value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue