AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
AnchorDateConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/AnchorOption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API AnchorDateConfiguration() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline AnchorOption GetAnchorOption() const { return m_anchorOption; }
41 inline bool AnchorOptionHasBeenSet() const { return m_anchorOptionHasBeenSet; }
42 inline void SetAnchorOption(AnchorOption value) {
43 m_anchorOptionHasBeenSet = true;
44 m_anchorOption = value;
45 }
47 SetAnchorOption(value);
48 return *this;
49 }
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) {
60 m_parameterNameHasBeenSet = true;
61 m_parameterName = std::forward<ParameterNameT>(value);
62 }
63 template <typename ParameterNameT = Aws::String>
64 AnchorDateConfiguration& WithParameterName(ParameterNameT&& value) {
65 SetParameterName(std::forward<ParameterNameT>(value));
66 return *this;
67 }
69 private:
70 AnchorOption m_anchorOption{AnchorOption::NOT_SET};
71
72 Aws::String m_parameterName;
73 bool m_anchorOptionHasBeenSet = false;
74 bool m_parameterNameHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // 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