AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LaunchActionsStatus.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/LaunchActionRun.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 drs
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DRS_API LaunchActionsStatus() = default;
40
41
43
46 inline const Aws::Vector<LaunchActionRun>& GetRuns() const { return m_runs; }
47 inline bool RunsHasBeenSet() const { return m_runsHasBeenSet; }
48 template<typename RunsT = Aws::Vector<LaunchActionRun>>
49 void SetRuns(RunsT&& value) { m_runsHasBeenSet = true; m_runs = std::forward<RunsT>(value); }
50 template<typename RunsT = Aws::Vector<LaunchActionRun>>
51 LaunchActionsStatus& WithRuns(RunsT&& value) { SetRuns(std::forward<RunsT>(value)); return *this;}
52 template<typename RunsT = LaunchActionRun>
53 LaunchActionsStatus& AddRuns(RunsT&& value) { m_runsHasBeenSet = true; m_runs.emplace_back(std::forward<RunsT>(value)); return *this; }
55
57
61 inline const Aws::String& GetSsmAgentDiscoveryDatetime() const { return m_ssmAgentDiscoveryDatetime; }
62 inline bool SsmAgentDiscoveryDatetimeHasBeenSet() const { return m_ssmAgentDiscoveryDatetimeHasBeenSet; }
63 template<typename SsmAgentDiscoveryDatetimeT = Aws::String>
64 void SetSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT&& value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime = std::forward<SsmAgentDiscoveryDatetimeT>(value); }
65 template<typename SsmAgentDiscoveryDatetimeT = Aws::String>
66 LaunchActionsStatus& WithSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT&& value) { SetSsmAgentDiscoveryDatetime(std::forward<SsmAgentDiscoveryDatetimeT>(value)); return *this;}
68 private:
69
71 bool m_runsHasBeenSet = false;
72
73 Aws::String m_ssmAgentDiscoveryDatetime;
74 bool m_ssmAgentDiscoveryDatetimeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace drs
79} // namespace Aws
LaunchActionsStatus & WithRuns(RunsT &&value)
const Aws::String & GetSsmAgentDiscoveryDatetime() const
void SetSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchActionsStatus & AddRuns(RunsT &&value)
AWS_DRS_API LaunchActionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API LaunchActionsStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LaunchActionRun > & GetRuns() const
AWS_DRS_API LaunchActionsStatus()=default
LaunchActionsStatus & WithSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue