AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AgentAliasHistoryEvent.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENT_API AgentAliasHistoryEvent() = default;
38 AWS_BEDROCKAGENT_API AgentAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
49 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
50 template<typename EndDateT = Aws::Utils::DateTime>
51 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
52 template<typename EndDateT = Aws::Utils::DateTime>
53 AgentAliasHistoryEvent& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
55
57
61 inline const Aws::Vector<AgentAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
62 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
63 template<typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
64 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
65 template<typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
66 AgentAliasHistoryEvent& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
67 template<typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
68 AgentAliasHistoryEvent& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
70
72
76 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
77 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
78 template<typename StartDateT = Aws::Utils::DateTime>
79 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
80 template<typename StartDateT = Aws::Utils::DateTime>
81 AgentAliasHistoryEvent& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
83 private:
84
85 Aws::Utils::DateTime m_endDate{};
86 bool m_endDateHasBeenSet = false;
87
89 bool m_routingConfigurationHasBeenSet = false;
90
91 Aws::Utils::DateTime m_startDate{};
92 bool m_startDateHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace BedrockAgent
97} // namespace Aws
AgentAliasHistoryEvent & WithEndDate(EndDateT &&value)
AgentAliasHistoryEvent & AddRoutingConfiguration(RoutingConfigurationT &&value)
AgentAliasHistoryEvent & WithRoutingConfiguration(RoutingConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentAliasHistoryEvent & WithStartDate(StartDateT &&value)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
const Aws::Utils::DateTime & GetEndDate() const
AWS_BEDROCKAGENT_API AgentAliasHistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
AWS_BEDROCKAGENT_API AgentAliasHistoryEvent()=default
AWS_BEDROCKAGENT_API AgentAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartDate() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue