AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
51 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
52 inline AgentAliasHistoryEvent& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
53 inline AgentAliasHistoryEvent& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(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 inline void SetRoutingConfiguration(const Aws::Vector<AgentAliasRoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
64 inline void SetRoutingConfiguration(Aws::Vector<AgentAliasRoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
67 inline AgentAliasHistoryEvent& AddRoutingConfiguration(const AgentAliasRoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
68 inline AgentAliasHistoryEvent& AddRoutingConfiguration(AgentAliasRoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(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 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
79 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
80 inline AgentAliasHistoryEvent& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
81 inline AgentAliasHistoryEvent& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(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(const Aws::Utils::DateTime &value)
AgentAliasHistoryEvent & AddRoutingConfiguration(const AgentAliasRoutingConfigurationListItem &value)
void SetRoutingConfiguration(Aws::Vector< AgentAliasRoutingConfigurationListItem > &&value)
AgentAliasHistoryEvent & WithStartDate(Aws::Utils::DateTime &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentAliasHistoryEvent & WithRoutingConfiguration(Aws::Vector< AgentAliasRoutingConfigurationListItem > &&value)
const Aws::Utils::DateTime & GetEndDate() const
AgentAliasHistoryEvent & WithStartDate(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API AgentAliasHistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentAliasHistoryEvent & AddRoutingConfiguration(AgentAliasRoutingConfigurationListItem &&value)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
void SetStartDate(const Aws::Utils::DateTime &value)
AgentAliasHistoryEvent & WithRoutingConfiguration(const Aws::Vector< AgentAliasRoutingConfigurationListItem > &value)
void SetEndDate(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API AgentAliasHistoryEvent(Aws::Utils::Json::JsonView jsonValue)
AgentAliasHistoryEvent & WithEndDate(Aws::Utils::DateTime &&value)
void SetRoutingConfiguration(const Aws::Vector< AgentAliasRoutingConfigurationListItem > &value)
const Aws::Utils::DateTime & GetStartDate() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue