AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const AnchorOption& GetAnchorOption() const{ return m_anchorOption; }
47 inline bool AnchorOptionHasBeenSet() const { return m_anchorOptionHasBeenSet; }
48 inline void SetAnchorOption(const AnchorOption& value) { m_anchorOptionHasBeenSet = true; m_anchorOption = value; }
49 inline void SetAnchorOption(AnchorOption&& value) { m_anchorOptionHasBeenSet = true; m_anchorOption = std::move(value); }
50 inline AnchorDateConfiguration& WithAnchorOption(const AnchorOption& value) { SetAnchorOption(value); return *this;}
51 inline AnchorDateConfiguration& WithAnchorOption(AnchorOption&& value) { SetAnchorOption(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
59 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
60 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
61 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
62 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
63 inline AnchorDateConfiguration& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
64 inline AnchorDateConfiguration& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
65 inline AnchorDateConfiguration& WithParameterName(const char* value) { SetParameterName(value); return *this;}
67 private:
68
69 AnchorOption m_anchorOption;
70 bool m_anchorOptionHasBeenSet = false;
71
72 Aws::String m_parameterName;
73 bool m_parameterNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
AWS_QUICKSIGHT_API AnchorDateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AnchorDateConfiguration & WithParameterName(const char *value)
AnchorDateConfiguration & WithParameterName(const Aws::String &value)
AnchorDateConfiguration & WithAnchorOption(AnchorOption &&value)
AWS_QUICKSIGHT_API AnchorDateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AnchorDateConfiguration & WithAnchorOption(const AnchorOption &value)
AnchorDateConfiguration & WithParameterName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue