AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
DeploymentDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace GameLift {
20namespace Model {
21
29 public:
30 AWS_GAMELIFT_API DeploymentDetails() = default;
31 AWS_GAMELIFT_API DeploymentDetails(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_GAMELIFT_API DeploymentDetails& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetLatestDeploymentId() const { return m_latestDeploymentId; }
40 inline bool LatestDeploymentIdHasBeenSet() const { return m_latestDeploymentIdHasBeenSet; }
41 template <typename LatestDeploymentIdT = Aws::String>
42 void SetLatestDeploymentId(LatestDeploymentIdT&& value) {
43 m_latestDeploymentIdHasBeenSet = true;
44 m_latestDeploymentId = std::forward<LatestDeploymentIdT>(value);
45 }
46 template <typename LatestDeploymentIdT = Aws::String>
47 DeploymentDetails& WithLatestDeploymentId(LatestDeploymentIdT&& value) {
48 SetLatestDeploymentId(std::forward<LatestDeploymentIdT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_latestDeploymentId;
54 bool m_latestDeploymentIdHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace GameLift
59} // namespace Aws
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_GAMELIFT_API DeploymentDetails & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API DeploymentDetails()=default
const Aws::String & GetLatestDeploymentId() const
DeploymentDetails & WithLatestDeploymentId(LatestDeploymentIdT &&value)
void SetLatestDeploymentId(LatestDeploymentIdT &&value)
AWS_GAMELIFT_API DeploymentDetails(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String