AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AgentAliasHistoryEvent.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentAliasRoutingConfigurationListItem.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENT_API AgentAliasHistoryEvent() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<AgentAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
43 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
44 template <typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
46 m_routingConfigurationHasBeenSet = true;
47 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
48 }
49 template <typename RoutingConfigurationT = Aws::Vector<AgentAliasRoutingConfigurationListItem>>
51 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
52 return *this;
53 }
54 template <typename RoutingConfigurationT = AgentAliasRoutingConfigurationListItem>
56 m_routingConfigurationHasBeenSet = true;
57 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
68 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
69 template <typename EndDateT = Aws::Utils::DateTime>
70 void SetEndDate(EndDateT&& value) {
71 m_endDateHasBeenSet = true;
72 m_endDate = std::forward<EndDateT>(value);
73 }
74 template <typename EndDateT = Aws::Utils::DateTime>
76 SetEndDate(std::forward<EndDateT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
87 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
88 template <typename StartDateT = Aws::Utils::DateTime>
89 void SetStartDate(StartDateT&& value) {
90 m_startDateHasBeenSet = true;
91 m_startDate = std::forward<StartDateT>(value);
92 }
93 template <typename StartDateT = Aws::Utils::DateTime>
95 SetStartDate(std::forward<StartDateT>(value));
96 return *this;
97 }
99 private:
101
102 Aws::Utils::DateTime m_endDate{};
103
104 Aws::Utils::DateTime m_startDate{};
105 bool m_routingConfigurationHasBeenSet = false;
106 bool m_endDateHasBeenSet = false;
107 bool m_startDateHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace BedrockAgent
112} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue